diff options
Diffstat (limited to 'templates/flatpage.html')
-rw-r--r-- | templates/flatpage.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/flatpage.html b/templates/flatpage.html index 47863e3..2376159 100644 --- a/templates/flatpage.html +++ b/templates/flatpage.html @@ -3,5 +3,5 @@ {% block bodyattrs %}{% if homepage %} id="homepage"{% endif %}{% endblock %} {% block body %} {{ body|safe }} -{% if homepage %}{% if editable %}<a href="{% url editflatpage path %}">Edit</a>{% endif %}{%else %}{% include "menu.html" %}{% endif %} +{% if homepage %}{% if editable %}<a href="{% url "editflatpage" path %}">Edit</a>{% endif %}{%else %}{% include "menu.html" %}{% endif %} {% endblock %} |