Commit db219961 authored by David Haynes's avatar David Haynes 🙆
Browse files

Merge branch 'placeholder' into 'master'

Placeholder

Close Issue #33 

Added a placeholder to long URL to clarify what is expected.

See merge request !22
parents 36a231d7 05feae95
......@@ -14,6 +14,7 @@ class URLForm(forms.ModelForm):
label='Long URL (Required)',
max_length=1000,
widget=forms.URLInput(attrs={
'placeholder': 'https://yoursite.com/'
})
)
......@@ -76,9 +77,7 @@ class URLForm(forms.ModelForm):
<h4>Paste the URL you would like to shorten:</h4>
<br />
"""),
PrependedText('target',
'https://',
),
'target',
style="background: rgb(#F6F6F6);",
title="target_url",
css_class="first_group",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment