diff options
| author | Jocelyn Delande <jocelyn@crapouillou.net> | 2015-08-22 01:19:27 +0200 |
|---|---|---|
| committer | Jocelyn Delande <jocelyn@crapouillou.net> | 2016-06-16 15:52:24 +0200 |
| commit | ec8fe2326b209d580922876e9b1d32cbe98646b7 (patch) | |
| tree | 5b640cb12ceb154983baa141e188c3da03d158af /budget/templates/forms.html | |
| parent | 64c2cd56dfb58ef78936d39b2e71640cd631653e (diff) | |
| download | ihatemoney-mirror-ec8fe2326b209d580922876e9b1d32cbe98646b7.zip ihatemoney-mirror-ec8fe2326b209d580922876e9b1d32cbe98646b7.tar.gz ihatemoney-mirror-ec8fe2326b209d580922876e9b1d32cbe98646b7.tar.bz2 | |
Added member edit form
Diffstat (limited to 'budget/templates/forms.html')
| -rw-r--r-- | budget/templates/forms.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/budget/templates/forms.html b/budget/templates/forms.html index ec73515..07e5b3d 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -95,6 +95,20 @@ {{ form.name(placeholder=_("Type user name here")) }}<button class="btn">{{ _("Add") }}</button> {% endmacro %} +{% macro edit_member(form, title=True) %} + <fieldset> + {% if title %}<legend>{{ _("Edit this member") }}</legend>{% endif %} + {% include "display_errors.html" %} + {{ form.hidden_tag() }} + {{ input(form.name) }} + {{ input(form.weight) }} + </fieldset> + <div class="actions"> + {{ form.submit(class="btn btn-primary") }} + </div> +{% endmacro %} + + {% macro invites(form) %} {{ form.hidden_tag() }} {{ input(form.emails) }} |
