]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/osqaadmin/edit_page.html
Some fixes in custom pages logic.
[osqa.git] / forum / skins / default / templates / osqaadmin / edit_page.html
index 269cec874ffb2de174b1401ad69e0caa14ef225f..d8d251ff405ec97c17253e81b9a71fb3643f3a43 100644 (file)
@@ -1,6 +1,6 @@
 {% extends basetemplate %}
 
-{% load i18n %}
+{% load i18n extra_filters %}
 
 {% block subtitle %}{% trans "Editing page" %}{% endblock %}
 {% block pagename %}
         <tr>
             <th></th>
             <td>
-                <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" />
+                {% if page %}
+                    <input id="submit" name="submit" type="submit" value="{% trans "Edit" %}" />
+                {% else %}
+                    <input id="submit" name="submit" type="submit" value="{% trans "Save" %}" />
+                {% endif %}
                 {% if published %}
                     <input id="unpublish" name="unpublish" type="submit" value="{% trans "Unpublish" %}" />
                 {% else %}