Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
c95dc99a
Verified
Commit
c95dc99a
authored
Apr 25, 2017
by
David Haynes
🙆
Browse files
Add help text to signup form
- first pass on verbage -
🙏
thanks to crispy forms this is stupid easy Closes
#68
parent
f6c6ad04
Pipeline
#1319
passed with stages
in 2 minutes and 52 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
go/go/forms.py
View file @
c95dc99a
...
...
@@ -316,6 +316,7 @@ class SignupForm(ModelForm):
label
=
'Full Name (Required)'
,
max_length
=
100
,
widget
=
TextInput
(),
help_text
=
"We can fill in this field based on information provided by https://peoplefinder.gmu.edu."
,
)
# The RegisteredUser's chosen organization
...
...
@@ -324,6 +325,7 @@ class SignupForm(ModelForm):
label
=
'Organization (Required)'
,
max_length
=
100
,
widget
=
TextInput
(),
help_text
=
"Or whatever
\"
group
\"
you would associate with on campus."
,
)
# The RegisteredUser's reason for signing up to us Go
...
...
@@ -332,6 +334,7 @@ class SignupForm(ModelForm):
label
=
'Description (Optional)'
,
max_length
=
200
,
widget
=
Textarea
(),
help_text
=
"Describe what type of links you would intend to create with Go."
,
)
# A user becomes registered when they agree to the TOS
...
...
@@ -342,6 +345,7 @@ class SignupForm(ModelForm):
label
=
mark_safe
(
'Do you accept the <a href="http://127.0.0.1:8000/about#terms">Terms of Service</a>?'
),
help_text
=
"Esssentially the GMU Responsible Use of Computing policies."
,
)
def
__init__
(
self
,
request
,
*
args
,
**
kwargs
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment