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
98e058b5
Commit
98e058b5
authored
Feb 19, 2016
by
Nicholas Anderson
Browse files
Move "Required" under the "Long URL" text to be consistant with Step 2
parent
a9479d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
go/go/forms.py
View file @
98e058b5
...
...
@@ -11,7 +11,7 @@ class URLForm(forms.ModelForm):
# Custom target URL field
target
=
forms
.
URLField
(
required
=
True
,
label
=
'Long URL'
,
label
=
'Long URL
(Required)
'
,
max_length
=
1000
,
widget
=
forms
.
URLInput
(
attrs
=
{
})
...
...
@@ -77,7 +77,7 @@ class URLForm(forms.ModelForm):
<br />
"""
),
PrependedText
(
'target'
,
'https://
required
'
,
'https://'
,
),
style
=
"background: rgb(#F6F6F6);"
,
title
=
"target_url"
,
...
...
@@ -94,7 +94,7 @@ class URLForm(forms.ModelForm):
<br />
"""
),
PrependedText
(
'short'
,
'go.gmu.edu/'
,
'
https://
go.gmu.edu/'
,
),
style
=
"background: rgb(#F6F6F6);"
,
title
=
"short_url"
,
...
...
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