diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-19 23:44:54 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-19 23:44:54 +0200 |
| commit | 28a3abf96d010db8253b53933d6ab36c4dd412d9 (patch) | |
| tree | 6dbe43affed2727dd6494e281676bdf75677a59a /budget/templates/send_invites.html | |
| parent | 402d756bf1e54236164643f2484e8fa9c78dc6d8 (diff) | |
| download | ihatemoney-mirror-28a3abf96d010db8253b53933d6ab36c4dd412d9.zip ihatemoney-mirror-28a3abf96d010db8253b53933d6ab36c4dd412d9.tar.gz ihatemoney-mirror-28a3abf96d010db8253b53933d6ab36c4dd412d9.tar.bz2 | |
No need anymore to pass the project_id to the urls.
The project is now directly added to the context local g object, and injected on the fly into the urls that need it.
This commits also add ideas found while reading the flask documentation. The project can be enhanced in many ways, some ideas are stated there.
Diffstat (limited to 'budget/templates/send_invites.html')
| -rw-r--r-- | budget/templates/send_invites.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/budget/templates/send_invites.html b/budget/templates/send_invites.html index f618803..fa46c81 100644 --- a/budget/templates/send_invites.html +++ b/budget/templates/send_invites.html @@ -3,12 +3,12 @@ <h2>Invite people to join this project</h2> <p>Specify a (coma separated) list of email adresses you want to notify about the creation of this budget management project and we will send them an email for you.</p> -<p>If you prefer, you can <a href="{{ url_for("list_bills", project_id=project.id) }}">skip this step</a> and notify them yourself</p> +<p>If you prefer, you can <a href="{{ url_for("list_bills") }}">skip this step</a> and notify them yourself</p> {% include "display_errors.html" %} <form method="post" accept-charset="utf-8"> {{ form.hidden_tag() }} <p>{{ form.emails.label }}<br /> {{ form.emails }}</p> - <p>{{ form.submit }} <a href="{{ url_for("list_bills", project_id=project.id) }}">No, thanks</a></p> + <p>{{ form.submit }} <a href="{{ url_for("list_bills") }}">No, thanks</a></p> </form> {% endblock %} |
