add register client form
This commit is contained in:
parent
53bbc8920e
commit
8c17c47235
|
@ -66,6 +66,21 @@ class AuthorizationRuleCreateForm(forms.Form):
|
|||
widget=forms.CheckboxSelectMultiple)
|
||||
|
||||
|
||||
class RegisterClientForm(forms.Form):
|
||||
name = forms.CharField()
|
||||
terms_of_policy = forms.CharField(widget=forms.Textarea)
|
||||
terms_of_policy_url = forms.URLInput(
|
||||
help_text=_('''Either the plain text terms of policy or a URL linking
|
||||
to it must be supplied.''')
|
||||
)
|
||||
version_of_policy = forms.CharField()
|
||||
categories_of_collected_pii = forms.CharField() #TODO choices
|
||||
purpose_of_collection = forms.Charfield(widget=forms.Textarea)
|
||||
redirection_uri_1 = forms.URLInput()
|
||||
redirection_uri_2 = forms.URLInput()
|
||||
redirection_uri_3 = forms.URLInput()
|
||||
|
||||
|
||||
class EmailChangeFormNoPassword(forms.Form):
|
||||
email = forms.EmailField(label=_('New email'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue