mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-30 10:12:37 +02:00

- Adapt to BS4 class names and hierarchy - Redesign some forms to have the label above the input (mobile-friendly) - For the remaining inline form (add bill), use the grid, as BS no longer provides inline form alignment helpers
5 lines
246 B
HTML
5 lines
246 B
HTML
{% for field_name, field_errors in form.errors.items() if field_errors %}
|
|
{% for error in field_errors %}
|
|
<p class="alert alert-danger"><strong>{{ form[field_name].label.text }}:</strong> {{ error }}</p>
|
|
{% endfor %}
|
|
{% endfor %}
|