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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user