2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-04-02 11:21:01 +01:00

validate author of trip on editing

This commit is contained in:
2023-09-05 15:49:12 +03:00
parent 0ea8fadaeb
commit 220e1327d7
3 changed files with 34 additions and 10 deletions

View File

@@ -36,13 +36,15 @@
required />
</span>
<br /><br />
<br /><br />
<span {% if authorflag %}style="color:red"{% endif %}>
<label for="author">Your name (author) <a href="/aliases/{{year}}">[valid authors]</a></label>
<input {% if not user.username %} disabled{% endif %}
label = "author" name = "author" size="20"
title="The person writing the logbook entry"
{% if author %}value="{{author}}"{% else %}placeholder="Animal"{% endif %}
required />
</span>
<br /><br />
<label for="others">Other names (comma separated) <a href="/aliases/{{year}}">[valid aliases]</a></label>
<input {% if not user.username %} disabled{% endif %}