From 286213026982435e6e87cdbbd5dddcd80e925b91 Mon Sep 17 00:00:00 2001 From: Jocelyn Delalande Date: Wed, 1 Feb 2017 19:41:55 +0100 Subject: Adapt to bootstrap 4 forms - 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 --- budget/templates/display_errors.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'budget/templates/display_errors.html') diff --git a/budget/templates/display_errors.html b/budget/templates/display_errors.html index bc65a3a..9e19605 100644 --- a/budget/templates/display_errors.html +++ b/budget/templates/display_errors.html @@ -1,5 +1,5 @@ {% for field_name, field_errors in form.errors.items() if field_errors %} {% for error in field_errors %} -

{{ form[field_name].label.text }}: {{ error }}

+

{{ form[field_name].label.text }}: {{ error }}

{% endfor %} {% endfor %} -- cgit v1.1