diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-24 19:34:53 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-24 19:34:53 +0100 |
commit | 23365c4bb813ff297ebf35da1b7de1b2b1add604 (patch) | |
tree | 9828069273a11734d48ad2889146911f31c5209b /pyaggr3g470r/templates | |
parent | Updated README. (diff) | |
download | newspipe-23365c4bb813ff297ebf35da1b7de1b2b1add604.tar.gz newspipe-23365c4bb813ff297ebf35da1b7de1b2b1add604.tar.bz2 newspipe-23365c4bb813ff297ebf35da1b7de1b2b1add604.zip |
It is now possible to update information about a user (first name, last name, email and password).
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/profile.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/profile.html b/pyaggr3g470r/templates/profile.html new file mode 100644 index 00000000..bbb7981d --- /dev/null +++ b/pyaggr3g470r/templates/profile.html @@ -0,0 +1,24 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <div class="jumbotron"> + <form action="" method="post" name="save"> + {{ 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 %} + + {{ form.submit(class_="btn") }} + </form> + </div> +</div><!-- /.container --> +{% endblock %}
\ No newline at end of file |