]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/osqaadmin/edit_page.html
Remove footer link to squatted domain
[osqa.git] / forum / skins / default / templates / osqaadmin / edit_page.html
1 {% extends basetemplate %}
2
3 {% load i18n extra_filters %}
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         {% csrf_token %}
18         <table style="width: 100%">
19         {{ form.as_table }}
20         <tr>
21             <th></th>
22             <td>
23                 {% if page %}
24                     <input id="submit" name="submit" type="submit" value="{% trans "Edit" %}" />
25                 {% else %}
26                     <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" />
27                 {% endif %}
28                 {% if published %}
29                     <input id="unpublish" name="unpublish" type="submit" value="{% trans "Unpublish" %}" />
30                 {% else %}
31                     <input id="publish" name="publish" type="submit" value="{% trans "Publish" %}" />
32                 {% endif %}
33             </td>
34         </tr>
35         </table>
36     </form>
37 {% endblock %}