diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-12 21:49:54 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-12 21:49:54 +0200 |
commit | 3ab21967201d5ed092bf1c2d3dea084aa30cabcb (patch) | |
tree | 1ea1661f8d2574880b1d7b674e228a6d95a5c8d8 /pyaggr3g470r/templates/admin | |
parent | Updated meta description tag in layout.html. (diff) | |
download | newspipe-3ab21967201d5ed092bf1c2d3dea084aa30cabcb.tar.gz newspipe-3ab21967201d5ed092bf1c2d3dea084aa30cabcb.tar.bz2 newspipe-3ab21967201d5ed092bf1c2d3dea084aa30cabcb.zip |
Simplification of the login forms.
Diffstat (limited to 'pyaggr3g470r/templates/admin')
-rw-r--r-- | pyaggr3g470r/templates/admin/create_user.html | 7 | ||||
-rw-r--r-- | pyaggr3g470r/templates/admin/dashboard.html | 8 |
2 files changed, 5 insertions, 10 deletions
diff --git a/pyaggr3g470r/templates/admin/create_user.html b/pyaggr3g470r/templates/admin/create_user.html index fcb59cd7..4e6c629f 100644 --- a/pyaggr3g470r/templates/admin/create_user.html +++ b/pyaggr3g470r/templates/admin/create_user.html @@ -9,11 +9,8 @@ <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.nickname.label }} + {{ form.nickname(class_="form-control") }} {% for error in form.nickname.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 %} diff --git a/pyaggr3g470r/templates/admin/dashboard.html b/pyaggr3g470r/templates/admin/dashboard.html index 5c7fa5c1..4e60ad1d 100644 --- a/pyaggr3g470r/templates/admin/dashboard.html +++ b/pyaggr3g470r/templates/admin/dashboard.html @@ -9,18 +9,16 @@ <thead> <tr> <th>#</th> - <th>{{ _('Firstname') }}</th> - <th>{{ _('Lastname') }}</th> + <th>{{ _('Nickname') }}</th> <th>{{ _('Email') }}</th> <th>{{ _('Actions') }}</th> </tr> </thead> <tbody> - {% for user in users|sort(attribute="firstname") %} + {% for user in users|sort(attribute="nickname") %} <tr> <td>{{ loop.index }}</td> - <td><a href="/admin/user/{{ user.id }}/">{{ user.firstname }}</a></td> - <td>{{ user.lastname }}</td> + <td><a href="/admin/user/{{ user.id }}/">{{ user.nickname }}</a></td> <td>{{ user.email }}</td> <td> <a href="/admin/user/{{ user.id }}/"><i class="glyphicon glyphicon-user" title="{{ _('View this user') }}<"></i></a> |