1 {% extends basetemplate %}
3 {% load i18n extra_tags extra_filters %}
5 {% block subtitle %}{{ form.set.title }}{% endblock %}
6 {% block pagename %}{{ form.set.title }}{% endblock %}
7 {% block description %}{{ form.set.description }}{% endblock %}
9 {% block admincontent %}
10 <form action="" method="POST" enctype="multipart/form-data" accept-charset="utf-8">
12 <table id="admin_form" style="width: 100%">
17 <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" onclick="this.form.target=''; return true;" />
18 {% if form.set.can_preview %}
19 <input id="preview" name="preview" type="submit" value="{% trans "Preview" %}" onclick="this.form.target='_blank'; return true;" />
20 {% if form.set.name|contained_in:unsaved %}
21 <input id="reset" name="reset" type="submit" value="{% trans "Reset Changes" %}" onclick="this.form.target=''; return true;" />