Update form UI
This commit is contained in:
parent
0cadd7e5b3
commit
f6912beb59
1 changed files with 13 additions and 7 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue