diff --git a/links/models.py b/links/models.py index fa1987e..d157d81 100644 --- a/links/models.py +++ b/links/models.py @@ -31,7 +31,7 @@ class Link(models.Model): class LinkForm(ModelForm): - url = CharField(label='') + url = CharField(widget=TextInput(attrs={'class':'u-full-width', 'placeholder': 'Paste the link you want to shorten'}), label='') class Meta: model = Link fields = ['url'] diff --git a/links/templates/404.html b/links/templates/404.html new file mode 100644 index 0000000..399724d --- /dev/null +++ b/links/templates/404.html @@ -0,0 +1,28 @@ + + +
+ + +Django and Postgres Powered
+Makes links shorter, like this: https://min.ie/WVFdWJMa
+Drag this bookmarklet min.ie to your bookmark bar for quick shrinking. Then just click the bookmark on a page you want a short url for.
+