aboutsummaryrefslogtreecommitdiff
path: root/budget/templates/send_invites.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-07-30 15:46:53 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-07-30 15:47:26 +0200
commit87ea04505924a0869e3c806cdf4de3defc1c034c (patch)
tree3f3cdcc482a8b8016518e9134a5cba6b6f89efa1 /budget/templates/send_invites.html
parent93818d9aba9505c30daf61f42fd9824017a33fe8 (diff)
downloadihatemoney-mirror-87ea04505924a0869e3c806cdf4de3defc1c034c.zip
ihatemoney-mirror-87ea04505924a0869e3c806cdf4de3defc1c034c.tar.gz
ihatemoney-mirror-87ea04505924a0869e3c806cdf4de3defc1c034c.tar.bz2
Invite people after project creation.
Uses the flask-mail extension.
Diffstat (limited to 'budget/templates/send_invites.html')
-rw-r--r--budget/templates/send_invites.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/budget/templates/send_invites.html b/budget/templates/send_invites.html
new file mode 100644
index 0000000..f618803
--- /dev/null
+++ b/budget/templates/send_invites.html
@@ -0,0 +1,14 @@
+{% extends "layout.html" %}
+{% block content %}
+<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>
+
+{% 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>
+</form>
+{% endblock %}