diff options
Diffstat (limited to 'templates/menu.html')
-rw-r--r-- | templates/menu.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu.html b/templates/menu.html index 2dd44f6..8953eed 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -43,7 +43,7 @@ <input id="omega-autofocus" type=search name=P size=8 autofocus> <input type=submit value="Search"></form></li> {% if editable %}<li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %} -{% if cave_editable %}<li><a href="{% url "edit_cave" cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %} +{% if cave_editable %}<li><a href="{% url "edit_cave" cave.url_parent cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %} </ul> </div> {% endif %} |