Update form UI

This commit is contained in:
Gabriel Augendre 2021-05-29 16:34:01 +02:00
parent 0cadd7e5b3
commit f6912beb59

View file

@ -1,14 +1,20 @@
{% extends "base.html" %}
{% block content %}
<h1>Welcome!</h1>
<h1>Shorten urls</h1>
<p>Welcome to the URL shortener.</p>
<form action="{{ url_for("shorten_url") }}" method="post">
<p>
<label for="short_code">Short code</label>
<input type="text" name="short_code" id="short_code">
</p>
<p>
<label for="url">Url to shorten</label>
<input type="text" name="url" id="url">
</p>
<p>
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</p>
</form>
{% endblock %}