2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 12:17:52 +00:00

cookie and logon working nicely together: cave & entrance

This commit is contained in:
2025-02-13 17:30:40 +00:00
parent ae36f1a9ce
commit 9fd86dc0c4
3 changed files with 30 additions and 14 deletions

View File

@@ -35,16 +35,19 @@ at troggle/core/forms.py ass this uses a Django magic form creation thinggy. -->
<li>Read the <a href="/handbook/survey/coord2.html#summary">brief explanation</a> of location data in the handbook.
</ul>
{% if ent.bearings %}
<br />
<label for="id_bearings">Bearings (obsolete):</label>
{{ent.bearings|safe}}
{% endif %}
{% if entlettereditable %}
<table>{{ entletterform }}</table>
{% else %}
<table><tr><th>Entrance Letter</th><td>{{ entletter }}</td></table>
{% endif %}
<table>{{ entform }}
{% if ent.bearings %}
<tr><th><label for="id_bearings">Bearings (obsolete):</label></th><td>
{{ent.bearings|safe}}</td></tr>
{% endif %}
</table>
<p><input style="font-weight: bold; font-size: 200%; font-variant-caps: small-caps; margin-left: 40%;" type="submit" value="Submit" /></p>
</form>