mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 14:51:38 +00:00
Fix entrance edit too, saving slug now
This commit is contained in:
@@ -10,7 +10,9 @@ though, you do not need to do a data import as it happens automatically -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
<b>This file is generated by troggle</b> on {{date}} UTC using the form documented at /handbook/survey/caveentry.html
|
||||
<b>This file is generated by troggle</b> on {{date}} UTC using the form documented at
|
||||
the form documented at
|
||||
<a ="/handbook/survey/caveentry.html">handbook/survey/caveentry.html</a>
|
||||
<br>
|
||||
|
||||
<cave>
|
||||
|
||||
@@ -14,11 +14,12 @@ though, you do not need to do a data import as it happens automatically -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
<b>This file is generated by troggle</b> on {{date}} UTC using the form documented at handbook/survey/ententry.html
|
||||
<b>This file is generated by troggle</b> on {{date}} UTC using the form documented at
|
||||
<a ="/handbook/survey/ententry.html">handbook/survey/ententry.html</a>
|
||||
<br>
|
||||
<entrance>
|
||||
<non_public>{{ entrance.non_public }}</non_public>{% for slug in entrance.entranceslug_set.all %}
|
||||
<slug>{{ slug.slug|default_if_none:""|safe }}</slug>{% endfor %}
|
||||
<non_public>{{ entrance.non_public }}</non_public>
|
||||
<slug>{{ entrance.slug|safe }}</slug> <!-- one entrance and one slug per entrance_data file -->
|
||||
<name>{{ entrance.name|default_if_none:""|safe }}</name>
|
||||
<entrance_description>{{ entrance.entrance_description|default_if_none:""|safe }}</entrance_description>
|
||||
<explorers>{{ entrance.explorers|default_if_none:""|safe }}</explorers>
|
||||
|
||||
Reference in New Issue
Block a user