add a "Minuten" unit to "Länge" form field

closes #5.
stable
neingeist 3 years ago
parent aa30394089
commit 65e39ec7a3

@ -54,11 +54,16 @@
<div class="form-group required">
{{ form.length.label(class_="form-control-label") }}
<div class='input-group'>
{{ form.length(class_="form-control " + ("is-invalid" if form.length.errors else "")) }}
<div class="input-group-append">
<span class="input-group-text">Minuten</span>
</div>
{% if form.length.errors %}
<div class="invalid-feedback">{{ form.length.errors|join("<br/>")|safe }}</div>
{% endif %}
</div>
</div>
<div class="form-group required">
{{ form.submit(class_="btn btn-primary") }}

Loading…
Cancel
Save