mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-22 23:12:19 +00:00
forbid changing year when editing existing logbook entry
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<input name="prev_slug" id="prev_slug" value="{{slug}}" type=hidden>
|
||||
|
||||
<span {% if dateflag %}style="color:red"{% endif %}>
|
||||
<label for="date">Date of the activity</label>
|
||||
<label for="date">Date of the activity{% if dateflag %} (cannot change year on an existing entry){% endif %}</label>
|
||||
<input {% if not user.username %} disabled{% endif %}
|
||||
label = "Date" name = "date" size="12"
|
||||
title="Date of the activity, a single day, in ISO format: 2020-08-17"
|
||||
|
||||
Reference in New Issue
Block a user