From 835dbfdd313e299853c9a67be0d092803325f5b0 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Sat, 23 Oct 2021 16:09:09 -0500 Subject: [PATCH] forms.py, forms.html Update of add bills --- ihatemoney/forms.py | 2 +- ihatemoney/templates/forms.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py index 3afd9630..7c327bd1 100644 --- a/ihatemoney/forms.py +++ b/ihatemoney/forms.py @@ -306,7 +306,7 @@ class ResetPasswordForm(FlaskForm): class BillForm(FlaskForm): date = DateField(_("Date"), validators=[DataRequired()], default=datetime.now) - what = StringField(_("What?"), validators=[DataRequired()]) + what = StringField(_("Description"), validators=[DataRequired()]) payer = SelectField(_("Payer"), validators=[DataRequired()], coerce=int) amount = CalculatorStringField(_("Amount paid"), validators=[DataRequired()]) currency_helper = CurrencyConverter() diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index 2de11ec5..5e88c4f2 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -150,9 +150,9 @@ {% include "display_errors.html" %} {{ form.hidden_tag() }} {{ 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) }} + {{ input(form.what, inline=True, placeholder="Payment for...") }} + {{ input(form.payer, inline=True, class="form-control custom-select", placeholder="Who paid?") }} + {{ input(form.amount, inline=True, placeholder="How much?") }}