summaryrefslogtreecommitdiff
path: root/lib/grappelli/templates/admin/auth/user/add_form.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2010-10-23 19:46:20 -0400
committerluxagraf <sng@luxagraf.net>2010-10-23 19:46:20 -0400
commitc59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c (patch)
tree2fc44ca867839d5e591e21467b6e4526f7a9f080 /lib/grappelli/templates/admin/auth/user/add_form.html
parented77da873e675f02f12cbab9be27f342f825444b (diff)
added grappelli, filebrowser, chunks and tagging to lcal repo
Diffstat (limited to 'lib/grappelli/templates/admin/auth/user/add_form.html')
-rw-r--r--lib/grappelli/templates/admin/auth/user/add_form.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/lib/grappelli/templates/admin/auth/user/add_form.html b/lib/grappelli/templates/admin/auth/user/add_form.html
new file mode 100644
index 0000000..7431762
--- /dev/null
+++ b/lib/grappelli/templates/admin/auth/user/add_form.html
@@ -0,0 +1,36 @@
+{% extends "admin/change_form.html" %}
+{% load i18n %}
+
+{% comment %}
+{% block after_field_sets %}
+ <p>{% trans "First, enter a username and password. Then, you'll be able to edit more user options." %}</p>
+ <fieldset class="module aligned">
+ <div class="row">
+ {# TODO: get required class on label_tag #}
+ <div class="column span-4"><label for="id_username" class="required">{% trans 'Username' %}:</label></div>
+ <div class="column span-flexible">
+ {{ form.username }}
+ {{ form.username.errors }}
+ <p class="help">{{ form.username.help_text }}</p>
+ </div>
+ </div>
+ <div class="row">
+ {# TODO: get required class on label_tag #}
+ <div class="column span-4"><label for="id_password1" class="required">{% trans 'Password' %}:</label></div>
+ <div class="column span-flexible">
+ {{ form.password1 }}
+ {{ form.password1.errors }}
+ </div>
+ </div>
+ <div class="row">
+ {# TODO: get required class on label_tag #}
+ <div class="column span-4"><label for="id_password2" class="required">{% trans 'Password (again)' %}:</label></div>
+ <div class="column span-flexible">
+ {{ form.password2 }}
+ {{ form.password2.errors }}
+ <p class="help">{% trans 'Enter the same password as above, for verification.' %}</p>
+ </div>
+ </div>
+ </fieldset>
+{% endblock %}
+{% endcomment %}