From 6e2283f915047d7916737f188080cc14bd0f8e0a Mon Sep 17 00:00:00 2001 From: Glandos Date: Sun, 4 Jul 2021 15:22:09 +0200 Subject: [PATCH] draft --- ihatemoney/templates/forms.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index 82b960e3..3dc2f9c8 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -2,7 +2,7 @@
{% if field.type != "SubmitField" %} {% if inline %} - {{ field.label(class="col-3") }} + {{ field.label(class="col-3 mt-2") }} {% else %} {{ field.label() }} {% endif %} @@ -120,20 +120,23 @@ {% if title %}{% if edit %}{{ _("Edit this bill") }} {% else %}{{ _("Add a bill") }} {% endif %}{% endif %} {% include "display_errors.html" %} {{ form.hidden_tag() }} - {{ input(form.date, class="form-control", inline=True) }} + {{ input(form.date, inline=True) }} {{ input(form.what, inline=True) }} {{ input(form.payer, inline=True, class="form-control custom-select") }} {{ input(form.amount, inline=True) }} - {% if g.project.default_currency != "XXX" %} - {{ input(form.original_currency, inline=True) }} - {% endif %} - {{ input(form.external_link, inline=True) }} +
+ Options avancées + {% if g.project.default_currency != "XXX" %} + {{ input(form.original_currency, inline=True, class="form-control custom-select") }} + {% endif %} + {{ input(form.external_link, inline=True) }} +
- +