diff --git a/budget/static/main.css b/budget/static/main.css index 8445aa5..279054b 100644 --- a/budget/static/main.css +++ b/budget/static/main.css @@ -73,6 +73,11 @@ div.topbar ul.secondary-nav { padding-right: 75px; } margin-right: 100px; } +.invites textarea{ + width: 800px; + height: 100px; +} + .footer{ position: absolute; bottom: 0px; diff --git a/budget/templates/forms.html b/budget/templates/forms.html index 690f59d..8ac458f 100644 --- a/budget/templates/forms.html +++ b/budget/templates/forms.html @@ -74,3 +74,12 @@ {% endmacro %} + +{% macro invites(form) %} + {{ form.hidden_tag() }} + {{ input(form.emails) }} +
+ + No, thanks +
+{% endmacro %} diff --git a/budget/templates/send_invites.html b/budget/templates/send_invites.html index fa46c81..bf018e2 100644 --- a/budget/templates/send_invites.html +++ b/budget/templates/send_invites.html @@ -1,4 +1,12 @@ {% extends "layout.html" %} + +{% block sidebar %} +
    +
  1. Create the project
  2. +
  3. Invite people
  4. +
  5. Use it!
  6. +
+{% endblock %} {% block content %}

Invite people to join this project

Specify a (coma separated) list of email adresses you want to notify about the @@ -6,9 +14,7 @@ creation of this budget management project and we will send them an email for yo

If you prefer, you can skip this step and notify them yourself

{% include "display_errors.html" %} -
- {{ form.hidden_tag() }} -

{{ form.emails.label }}
{{ form.emails }}

-

{{ form.submit }} No, thanks

+ + {{ forms.invites(form) }}
{% endblock %}