diff options
| author | DavidRThrashJr <60800614+DavidRThrashJr@users.noreply.github.com> | 2020-02-09 07:01:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-09 13:01:47 +0100 |
| commit | bf691660ee52073cfca5b32ed833553e9fe3a171 (patch) | |
| tree | 87bd8dc4b2cbebe6774722bae6ad82ffa07dd48e /ihatemoney | |
| parent | 1f62f18154be9ffab31ce4b8d203bb8e1679e48b (diff) | |
| download | ihatemoney-mirror-bf691660ee52073cfca5b32ed833553e9fe3a171.zip ihatemoney-mirror-bf691660ee52073cfca5b32ed833553e9fe3a171.tar.gz ihatemoney-mirror-bf691660ee52073cfca5b32ed833553e9fe3a171.tar.bz2 | |
Update forms.html (#531)
Made the html formatting more readable
Diffstat (limited to 'ihatemoney')
| -rw-r--r-- | ihatemoney/templates/forms.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index 95606e5..bec7018 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -112,7 +112,12 @@ <ul id="payed_for" class="inputs-list"> <p><a href="#" id="selectall" onclick="selectCheckboxes(true)">{{ _("Select all") }}</a> | <a href="#" id="selectnone" onclick="selectCheckboxes(false)">{{_("Select none")}}</a></p> {% for key, value, checked in form.payed_for.iter_choices() | sort(attribute='1') %} - <p class="form-check"><label for="payed_for-{{key}}" class="form-check-label"><input name="payed_for" type="checkbox" {% if checked %}checked{% endif %} class="form-check-input" value="{{key}}" id="payed_for-{{key}}"/><span>{{value}}</span></label></p> + <p class="form-check"> + <label for="payed_for-{{key}}" class="form-check-label"> + <input name="payed_for" type="checkbox" {% if checked %}checked{% endif %} class="form-check-input" value="{{key}}" id="payed_for-{{key}}"/> + <span>{{value}}</span> + </label> + </p> {% endfor %} </ul> </div> |
