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 f9fdf4c..45d57b5 100644 --- a/templates/menu.html +++ b/templates/menu.html @@ -12,6 +12,6 @@ <input id="omega-autofocus" type=search name=P value="testing" size=8 autofocus> <input type=submit value="Search"></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_editable %}" class="editlink"><strong>Edit this cave</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 %} </ul> {% endif %} |