summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-02-17 22:44:27 +0200
committerPhilip Sargent <philip.sargent@gmail.com>2025-02-17 22:44:27 +0200
commitc23e93d7a7476819d33345a35aedd455cea37f4b (patch)
tree598a53333b03e34b87db2ee697344db08feda449
parent61c0f910884fd09166834d8776c03afbb1cd1e9a (diff)
downloadtroggle-c23e93d7a7476819d33345a35aedd455cea37f4b.tar.gz
troggle-c23e93d7a7476819d33345a35aedd455cea37f4b.tar.bz2
troggle-c23e93d7a7476819d33345a35aedd455cea37f4b.zip
bugfix
-rw-r--r--templates/walletform.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/walletform.html b/templates/walletform.html
index f92599f..e663515 100644
--- a/templates/walletform.html
+++ b/templates/walletform.html
@@ -242,10 +242,15 @@ and <em>also</em> the exported files in standard formats: svx, svg etc. See why
placeholder="['caves-1623/148/148-2007.svx']" value="{{survex}}" />
<br>
<label for="id_identified_login">Identified login:</label>
- <input type="checkbox" name="identified_login" onclick="return false" id="id_identified_login"><br />
+ <input type="checkbox" name="identified_login" onclick="return false"
+ {% if identified_login %} checked{% endif %}
+ id="id_identified_login"><br />
<br>
<label for="who_are_you">Who are you:</label>
- <input {% if not user.username %} disabled{% endif %}
+ <input
+ {% if not user.username %} disabled{% endif %}
+ {% if identified_login %} readonly{% endif %}
+ value="{{who_are_you}}"
label = "Who are you" name = "who_are_you" size ="{{freetextsize}}"
title="Who are you:"
placeholder="You who are editing this page e.g. Animal <mta@gasthof.expo>" value="{{who_are_you}}" required/>