Dynastie/templates/edit_category.html
2012-07-08 16:23:39 +02:00

14 lines
328 B
HTML

{% extends "templates/base.html" %}
{% block content %}
<form action="/category/edit/{{ category.id }}" method="post">
{% csrf_token %}
{{ form.as_p }}
{% if user.is_superuser %}
<input type="submit" name="edit" value="Edit" />
{% else %}
<input type="submit" name="cancel" value="Cancel" />
{% endif %}
</form>
{% endblock %}