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