diff --git a/users/templates/list_users.html b/users/templates/list_users.html index 29c1d0a..fc15825 100644 --- a/users/templates/list_users.html +++ b/users/templates/list_users.html @@ -48,7 +48,7 @@

{% trans 'Email' %}: {{ acc.email }}

{% trans 'Contact' %}: {{ acc.phone }}

- {% trans 'Edit' %} + {% trans 'Edit' %} {% trans 'Delete' %}
diff --git a/users/templates/users/create.html b/users/templates/users/create.html index cf82964..914d378 100644 --- a/users/templates/users/create.html +++ b/users/templates/users/create.html @@ -71,7 +71,12 @@ {% endif %} {% endfor %} - +
+ +
+
+ {% trans 'Cancel' %} +
diff --git a/users/templates/users/update.html b/users/templates/users/update.html index 662a6f5..2bd5aed 100644 --- a/users/templates/users/update.html +++ b/users/templates/users/update.html @@ -1,60 +1,85 @@ -{% extends 'app/base.html' %} +{% extends 'list_users.html' %} {% load static i18n %} {% load widget_tweaks %} +{% load django_bootstrap_breadcrumbs %} + {% block breadcrumbs %} - -{% endblock %} -{% block sidebar %} -
- - {% trans 'System Users' %} - - - {% trans 'New Account' %} - - - {% trans 'Send Mail' %} - -
+ {{ block.super }} + {% breadcrumb 'Update User' 'users:update' %} + {% endblock %} + {% block content %} - + {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} -
- {% csrf_token %} - {% for field in form %} -
- - {% render_field field class='form-control input-sm' %} - {{ field.help_text }} - {% if field.errors.length > 0 %} - +

{% endblock %} -- libgit2 0.21.2