diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-09 20:14:33 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-09 20:14:33 +0200 |
commit | 5d220e360454e7643eb5539fa329702cb5c273c5 (patch) | |
tree | 2797e3e3c98c0d47e9515ab4a2c9fd4c0f3070bd /pyaggr3g470r/templates/admin/create_user.html | |
parent | Fixed bug for deployment on Heroku (3). (diff) | |
download | newspipe-5d220e360454e7643eb5539fa329702cb5c273c5.tar.gz newspipe-5d220e360454e7643eb5539fa329702cb5c273c5.tar.bz2 newspipe-5d220e360454e7643eb5539fa329702cb5c273c5.zip |
Management of users via the administrator's account.
Diffstat (limited to 'pyaggr3g470r/templates/admin/create_user.html')
-rw-r--r-- | pyaggr3g470r/templates/admin/create_user.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/admin/create_user.html b/pyaggr3g470r/templates/admin/create_user.html new file mode 100644 index 00000000..5a6838bd --- /dev/null +++ b/pyaggr3g470r/templates/admin/create_user.html @@ -0,0 +1,29 @@ +{% extends "layout.html" %} +{% block head%} +{{super()}} +{% endblock %} +{% block content %} +<div class="container"> + <div class="jumbotron"> + <h2>{{ message|safe }}</h2> + <form action="" method="post" name="saveprofileform" id="profileform"> + {{ form.hidden_tag() }} + + {{ form.firstname.label }} + {{ form.firstname(class_="form-control") }} {% for error in form.firstname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + + {{ form.lastname.label }} + {{ form.lastname(class_="form-control") }} {% for error in form.lastname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + + {{ form.email.label }} + {{ form.email(class_="form-control") }} {% for error in form.email.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + + {{ form.password.label }} + {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + + <br /> + {{ form.submit(class_="btn") }} + </form> + </div> +</div> +{% endblock %}
\ No newline at end of file |