summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-06-29 09:25:53 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2024-06-29 10:32:10 +0300
commita6c47b26546fdcc07f80b74f30ba114d160a83a8 (patch)
treef3d05f9071d14b556f655c5d63a5c775a3d60661
parent87d67f58205f3627e02e3b415419c85a1c80ff52 (diff)
downloadtroggle-a6c47b26546fdcc07f80b74f30ba114d160a83a8.tar.gz
troggle-a6c47b26546fdcc07f80b74f30ba114d160a83a8.tar.bz2
troggle-a6c47b26546fdcc07f80b74f30ba114d160a83a8.zip
<caveslg> now taken from filename not <caveslug> field
-rw-r--r--templates/dataformat/cave.xml2
-rw-r--r--templates/editcave.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/dataformat/cave.xml b/templates/dataformat/cave.xml
index e8c6b5f..5725af8 100644
--- a/templates/dataformat/cave.xml
+++ b/templates/dataformat/cave.xml
@@ -17,7 +17,7 @@ the form documented at
<cave>
<non_public>{{ cave.non_public }}</non_public>{% for slug in cave.caveslug_set.all %}<!-- 'False' or 'True'. True if the cave should only be visible to logged-in users. Caves are normally public, so enter 'False' unless you know otherwise. -->
-<caveslug>{{ slug.slug|default_if_none:"1623-000"|safe }}</caveslug>{% endfor %}<!--No longer required, we use the filename instead e.g. 1623-315 for 1623-315.html -->
+<caveslug>{{ slug.slug|default_if_none:"1623-000"|safe }}</caveslug>{% endfor %}<!-- Ignored. No longer required, we use the filename instead e.g. 1623-315 for 1623-315.html -->
<official_name>{{ cave.official_name|default_if_none:""|safe }}</official_name><!-- Name of the cave (normally in German) Use &uuml; for u+Umlaut and &ouml; for o+umlaut eg H&ouml;hle for Hohle and Gl&uuml;ck for Gluck-->
<area>{{cave.areacode |safe }}</area><!-- e.g. "1623" -->
<kataster_code>{{ cave.kataster_code|default_if_none:"-"|safe }}</kataster_code><!-- 'length-or-depth/type exploration'
diff --git a/templates/editcave.html b/templates/editcave.html
index 61448bf..6f7b741 100644
--- a/templates/editcave.html
+++ b/templates/editcave.html
@@ -61,7 +61,7 @@ at troggle/core/forms.py ass this uses a Django magic form creation thinggy. -->
<form action="" method="post">{% csrf_token %}
<table>{{ form }}
<!-- begin caveAndEntranceFormSet-->{{caveAndEntranceFormSet}}<!--end caveAndEntranceFormSet--></table>
- <p><input type="submit" value="Submit" /></p>
+ <p><input style="font-weight: bold; font-size: 200%; font-variant-caps: small-caps; margin-left: 40%;" type="submit" value="Submit" /></p>
</form>
<h3>Kataster code</h3>