aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/forms.html
diff options
context:
space:
mode:
authorArnaud Bos <arnaud.tlse@gmail.com>2011-09-14 01:16:25 +0200
committerArnaud Bos <arnaud.tlse@gmail.com>2011-09-14 01:16:25 +0200
commit89e1bbe134bc770d4a3f999a1329bd07522b07cf (patch)
tree818f77883e6c756bcd1e797af7868c40cba97e00 /budget/templates/forms.html
parent88cd2f86751621d73574ac56a9d6c4bedcbdd3d5 (diff)
downloadihatemoney-mirror-89e1bbe134bc770d4a3f999a1329bd07522b07cf.zip
ihatemoney-mirror-89e1bbe134bc770d4a3f999a1329bd07522b07cf.tar.gz
ihatemoney-mirror-89e1bbe134bc770d4a3f999a1329bd07522b07cf.tar.bz2
Make the identifier clearer to the end-user.
- Send an email to the user with the summary of the created project containing a reminder of the identifier, password and a link. - Add flash message with the identifier in the /invite page/ - Add a small note containing the identifier in the upper right corner of the project main page.
Diffstat (limited to 'budget/templates/forms.html')
-rw-r--r--budget/templates/forms.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/budget/templates/forms.html b/budget/templates/forms.html
index ba915e8..f516e40 100644
--- a/budget/templates/forms.html
+++ b/budget/templates/forms.html
@@ -19,10 +19,10 @@
{% macro submit(field, cancel=False, home=False) -%}
<div class="actions">
+ <button type="submit" class="btn primary">{{ field.name }}</button>
{% if home %}
- <a href="{{ url_for(".home") }}" class="btn">Back Home</a>
+ <a href="{{ url_for(".home") }}">Go back Home</a>
{% endif %}
- <button type="submit" class="btn primary">{{ field.name }}</button>
{% if cancel %}
<button id="cancel-form" type="reset" class="btn">Cancel</button>
{% endif %}
@@ -36,7 +36,7 @@
{{ input(form.id) }}
{{ input(form.password) }}
{% if not home %}
- {{ submit(form.submit) }}
+ {{ submit(form.submit, home=True) }}
{% endif %}
{% endmacro %}
@@ -84,7 +84,7 @@
{{ form.hidden_tag() }}
{{ input(form.emails) }}
<div class="actions">
- <button class="btn">Send the invitations</button>
+ <button class="btn primary">Send the invitations</button>
<a href="{{ url_for(".list_bills") }}">No, thanks</a>
</div>
{% endmacro %}