summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/views/survex.py3
-rw-r--r--templates/menu.html2
2 files changed, 4 insertions, 1 deletions
diff --git a/core/views/survex.py b/core/views/survex.py
index 332ad75..47ccad7 100644
--- a/core/views/survex.py
+++ b/core/views/survex.py
@@ -154,6 +154,9 @@ class SvxForm(forms.Form):
res = fout.write(rcode.replace("\r",""))
res = fout.write("\n")
fout.close()
+
+ # INSERT code to do git add and commit here, to loser repo.
+
return "SAVED ."
def Process(self):
diff --git a/templates/menu.html b/templates/menu.html
index f23f4b0..c22b38d 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -9,7 +9,7 @@
<li><a href="/caves">Caves</a></li>
<li><a href="/expedition/2019">Troggle</a></li>
<li><form name=P method=get action="/search" target="_top">
- <input id="omega-autofocus" type=search name=P placeholder="testing" size=8 autofocus>
+ <input id="omega-autofocus" type=search name=P size=8 autofocus>
<input type=submit value="Search"></li>
{% if editable %}<li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
{% if cave_editable %}<li><a href="{% url "edit_cave" cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}