Changed the way error messages are displayed

This commit is contained in:
xemeds
2020-08-07 17:28:35 +03:00
parent 53526060c9
commit 0910c83e01
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<form method="POST" action="">
{{ form.hidden_tag() }}
<div class="inputs">
{{ form.url(placeholder="Enter the URL here", class="url") }}
{{ form.url(placeholder="Enter the URL here", autofocus=true, class="url") }}
{{ form.submit(class="button") }}
</div>
{% if form.url.errors %}