2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 02:37:13 +00:00

Make 'bearings' a read-only field on entrances

This commit is contained in:
2023-11-18 13:27:08 +00:00
parent 76688695b8
commit 7a61bc47ea
4 changed files with 14 additions and 10 deletions

View File

@@ -40,7 +40,10 @@ at troggle/core/forms.py ass this uses a Django magic form creation thinggy. -->
{% else %}
<table><tr><th>Entrance Letter</th><td>{{ entletter }}</td></table>
{% endif %}
<table>{{ entform }}</table>
<table>{{ entform }}
<tr><th><label for="id_bearings">Bearings (obsolete):</label></th><td>
{{ent.bearings|safe}}</td></tr>
</table>
<p><input type="submit" value="Submit" /></p>
</form>