From afc93531809913660c3e08b661bc3b1e4b3ddd2d Mon Sep 17 00:00:00 2001 From: Leo Mouyna Date: Sat, 28 Sep 2019 14:16:42 +0200 Subject: feat: Optional field 'external link' in bill form. An optional field has been added to the bill form to add a link to a real bill. A new action button allow user to see this bill. Breaking change with Bill model update for database, a migration is needed. See issue #429. --- ihatemoney/templates/forms.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ihatemoney/templates/forms.html') diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index a64e205..c96921c 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -14,7 +14,7 @@ {{ field(class=class, placeholder=placeholder) | safe }} {% endif %} {% if field.description %} -

{{ field.description }}

+ {{ field.description }} {% endif %} @@ -95,6 +95,7 @@ {{ input(form.what, inline=True) }} {{ input(form.payer, inline=True, class="form-control custom-select") }} {{ input(form.amount, inline=True) }} + {{ input(form.external_link, inline=True) }}
-- cgit v1.1