diff options
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) }} |
