summaryrefslogtreecommitdiffstats
path: root/templates/logbookform.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-08-10 23:17:03 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-08-10 23:17:03 +0300
commitd3c17361192fbdea57eb3ef339375f671cc69ebf (patch)
treef3faafe147cce21f2ce894ba1c020eac27d04a08 /templates/logbookform.html
parentda8e22c85607681dd3bbda92bddf593139a11f0e (diff)
downloadtroggle-d3c17361192fbdea57eb3ef339375f671cc69ebf.tar.gz
troggle-d3c17361192fbdea57eb3ef339375f671cc69ebf.tar.bz2
troggle-d3c17361192fbdea57eb3ef339375f671cc69ebf.zip
extending logbook entry edit
Diffstat (limited to 'templates/logbookform.html')
-rw-r--r--templates/logbookform.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/logbookform.html b/templates/logbookform.html
index bd21e5d..f9b12ea 100644
--- a/templates/logbookform.html
+++ b/templates/logbookform.html
@@ -40,10 +40,10 @@
<br /><br />
<label for="others">Other names (comma separated) <a href="/aliases/{{year}}">[valid aliases]</a></label>
<input {% if not user.username %} disabled{% endif %}
- label = "others" name = "others" size="20"
+ label = "others" name = "others" size="{% if lenothers %}{{lenothers}}{% else %}20{% endif %}"
title="Everyone else involved"
{% if others %}value="{{others}}"{% else %}placeholder="Phil T, Chas, Planc" {% endif %}
- required />
+ />
<br /><br />
<label for="place">Place: cave name, or 'plateau', 'topcamp' etc.</label>
<input {% if not user.username %} disabled{% endif %}
@@ -60,7 +60,7 @@
required />
<br /><br />
<textarea {% if not user.username %} disabled{% endif %}
- rows="5" cols="60"
+ rows="{% if textrows%}{{textrows}}{% else %}5{% endif %}" cols="70"
label = "" name = "text"
required />{% if entry %}{{entry}}{% else %}We had a lot of fun...{% endif %}
</textarea>