Commit 27a08877 authored by Matthew Rodgers's avatar Matthew Rodgers
Browse files

Added Placeholder for Full URL.

parent 6ad76dd9
...@@ -14,6 +14,7 @@ class URLForm(forms.ModelForm): ...@@ -14,6 +14,7 @@ class URLForm(forms.ModelForm):
label='Long URL (Required)', label='Long URL (Required)',
max_length=1000, max_length=1000,
widget=forms.URLInput(attrs={ widget=forms.URLInput(attrs={
'placeholder': 'https://yoursite.com/'
}) })
) )
...@@ -76,9 +77,6 @@ class URLForm(forms.ModelForm): ...@@ -76,9 +77,6 @@ class URLForm(forms.ModelForm):
<h4>Paste the URL you would like to shorten:</h4> <h4>Paste the URL you would like to shorten:</h4>
<br /> <br />
"""), """),
PrependedText('target',
'https://',
),
style="background: rgb(#F6F6F6);", style="background: rgb(#F6F6F6);",
title="target_url", title="target_url",
css_class="first_group", 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