2020-07-18 16:40:51 +00:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
2020-08-19 16:31:22 +03:00
|
|
|
<div class="container">
|
|
|
|
|
<form method="POST" action="">
|
|
|
|
|
{{ form.hidden_tag() }}
|
|
|
|
|
<div class="inputs">
|
|
|
|
|
{{ form.url(placeholder="Enter the URL here", autofocus=true, class="url") }}
|
|
|
|
|
{{ form.submit(class="button") }}
|
2020-07-19 20:01:03 +00:00
|
|
|
</div>
|
2020-08-19 16:31:22 +03:00
|
|
|
{% if form.url.errors %}
|
|
|
|
|
{% for error in form.url.errors %}
|
|
|
|
|
<p class="url-error-message">{{ error }}</p>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
2020-07-18 16:40:51 +00:00
|
|
|
{% endblock %}
|