feat: entry creation % details

This commit is contained in:
2023-07-02 16:20:38 +02:00
parent 8fc4fca2a1
commit af6c3ff0eb
7 changed files with 271 additions and 27 deletions

View File

@@ -0,0 +1,24 @@
{% include "head.html" %}
<body>
<div class="container mt-5">
<button class="mt-4 mb-4 btn btn-secondary" onclick="window.location.href='/'">
Back
</button>
{% if form.service.errors %}
<ul class="errors">
{% for error in form.service.errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
{% endif %}
<form method="POST" action="/entry-form">
{{ form.csrf_token }}
{{ form.service.label }} {{ form.service(size=20) }} </br>
{{ form.timeout.label }} {{ form.timeout() }} </br>
<input type="submit" value="Go">
</form>
</div>
</body>
</html>