Files
flask_url_shortener/tiny0/templates/index.html
T

19 lines
467 B
HTML
Raw Normal View History

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") }}
</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 %}