Add editlink classes for editing the entrances

This commit is contained in:
Martin Green 2023-06-07 22:26:11 +01:00
parent ec3ebe8499
commit 90862e9a89

View File

@ -124,7 +124,7 @@
{{ ent.entrance_letter|safe }}
{% if ent.entrance.name %}
{{ ent.entrance.name|safe }}
{% endif %}<a href="{% url "editentrance" ent.entrance.url_parent cave.slug ent.entrance.slug %}">Edit</a>
{% endif %}<a class="editlink" href="{% url "editentrance" ent.entrance.url_parent cave.slug ent.entrance.slug %}">Edit</a>
<dl>
{% if ent.entrance.marking %}
<dt>Marking</dt><dd>{{ ent.entrance.marking_val|safe }}</dd>
@ -184,7 +184,7 @@
</ul>
{% endif %}</p>
<a href="{% url "newentrance" cave.url_parent cave.slug %}">New Entrance</a>
<a class="editlink" href="{% url "newentrance" cave.url_parent cave.slug %}">New Entrance</a>
</div>
<h2>Survex File(s)</h2>
All <a href="/survexfile/{{cave.kataster_number}}">survexfiles</a> for this cave {<br />