]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/osqaadmin/set.html
Fix in the retag template.
[osqa.git] / forum / skins / default / templates / osqaadmin / set.html
1 {% extends basetemplate %}\r
2 \r
3 {% load i18n extra_tags extra_filters %}\r
4 \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
8 \r
9 {% block admincontent %}\r
10     <form action="" method="POST" enctype="multipart/form-data" accept-charset="utf-8">\r
11         {% csrf_token %}\r
12         <table id="admin_form" style="width: 100%">\r
13             {{ form.as_table }}\r
14             <tr>\r
15                 <th></th>\r
16                 <td>\r
17                     <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" onclick="this.form.target=''; return true;" />\r
18                     {% if form.set.can_preview %}\r
19                         <input id="preview" name="preview" type="submit" value="{% trans "Preview" %}" onclick="this.form.target='_blank'; return true;" />\r
20                         {% if form.set.name|contained_in:unsaved %}\r
21                             <input id="reset" name="reset" type="submit" value="{% trans "Reset Changes" %}" onclick="this.form.target=''; return true;" />\r
22                         {% endif %}\r
23                     {% endif %}\r
24                 </td>\r
25             </tr>\r
26         </table>\r
27     </form>\r
28 {% endblock %}