aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/forms.html
diff options
context:
space:
mode:
authorLeo Mouyna <mouynaleo@gmail.com>2019-09-28 14:16:42 +0200
committerLéo Mouyna <leo.mouyna@macq.eu>2019-10-03 18:15:50 +0200
commitafc93531809913660c3e08b661bc3b1e4b3ddd2d (patch)
treed90d39baf7ed40ca7b9812a26744c4af7bad77ee /ihatemoney/templates/forms.html
parent1f539b5c0d6d68897bcdb4cdf1f3f81debac49a9 (diff)
downloadihatemoney-mirror-afc93531809913660c3e08b661bc3b1e4b3ddd2d.zip
ihatemoney-mirror-afc93531809913660c3e08b661bc3b1e4b3ddd2d.tar.gz
ihatemoney-mirror-afc93531809913660c3e08b661bc3b1e4b3ddd2d.tar.bz2
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.
Diffstat (limited to 'ihatemoney/templates/forms.html')
-rw-r--r--ihatemoney/templates/forms.html3
1 files changed, 2 insertions, 1 deletions
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 %}
- <p class="help-inline">{{ field.description }}</p>
+ <small id="{{field.name}}_description"" class="form-text text-muted">{{ field.description }}</small>
{% endif %}
</div>
</div>
@@ -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) }}
<div class="form-group row">
<label class="col-3" for="payed_for">{{ _("For whom?") }}</label>