]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/osqaadmin/edit_page.html
Adds the hability to create custom css. Fixes a small issue with admin area forms.
[osqa.git] / forum / skins / default / templates / osqaadmin / edit_page.html
1 {% extends basetemplate %}
2
3 {% load i18n %}
4
5 {% block subtitle %}{% trans "Editing page" %}{% endblock %}
6 {% block pagename %}
7     <a href="{% url admin_static_pages %}">{% trans "Static Pages" %}</a> &gt;
8     {% if page %}{% trans "Editing page" %}{% else %}{% trans "Creating page" %}{% endif %}
9 {% endblock %}
10 {% block description %}
11     {% if page %}{{ page.title }}{% else %}{% trans "New page" %}{% endif %}
12     ({% if published %}{% trans "Published" %}{% else %}{% trans "Unpublished" %}{% endif %})    
13 {% endblock %}
14
15 {% block admincontent %}
16     <form action="" method="post" accept-charset="utf-8">
17         <table style="width: 100%">
18         {{ form.as_table }}
19         <tr>
20             <th></th>
21             <td>
22                 <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" />
23                 {% if published %}
24                     <input id="unpublish" name="unpublish" type="submit" value="{% trans "Unpublish" %}" />
25                 {% else %}
26                     <input id="publish" name="publish" type="submit" value="{% trans "Publish" %}" />
27                 {% endif %}
28             </td>
29         </tr>
30         </table>
31     </form>
32 {% endblock %}