Added a original url lookup

This commit is contained in:
xemeds
2020-08-25 12:11:00 +03:00
parent a138e24d79
commit e5e9b7a5f4
5 changed files with 59 additions and 5 deletions
+17
View File
@@ -0,0 +1,17 @@
{% extends "layout.html" %}
{% block body %}
<form method="POST" action="" class="url-form">
<h1>&#60 URL Lookup &#62</h1>
{{ form.hidden_tag() }}
{{ form.url(placeholder="Enter the short URL here", autofocus=true, class="feedback-input") }}
{{ form.submit(class="button") }}
{% if form.errors %}
<div class="form-errors">
{% for error in form.url.errors %}
<h4>{{ error }}</h4>
{% endfor %}
</div>
{% endif %}
</form>
{% endblock %}