mirror of
https://github.com/YunoHost-Apps/ihatemoney_ynh.git
synced 2024-09-03 19:26:15 +02:00
2862130269
- 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 %}
|