Initial commit

This commit is contained in:
2012-07-08 16:23:39 +02:00
commit 46f9d19def
316 changed files with 47583 additions and 0 deletions

13
templates/edit_user.html Normal file
View File

@@ -0,0 +1,13 @@
{% extends "templates/base.html" %}
{% block content %}
{% if user.is_superuser or user.id == user_to_edit.id %}
<form action="/user/edit/{{ user_to_edit.id }}" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" name="edit" value="Edit" /><input type="submit" name="cancel" value="Cancel" />
</form>
{% else %}
{{ form.as_p }}
{% endif %}
{% endblock %}