diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-08-09 00:58:40 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-08-09 00:58:40 +0300 |
commit | 7dbaea5d24feff4cfa166bbea0a15acb27bb19f9 (patch) | |
tree | 1aff7f20f342d8dd1d4788c28fc4ac86f18f1cf4 /templates/logbookform.html | |
parent | 859d9a5b22c1d5c5aedc86dad9067fee6d355b8d (diff) | |
download | troggle-7dbaea5d24feff4cfa166bbea0a15acb27bb19f9.tar.gz troggle-7dbaea5d24feff4cfa166bbea0a15acb27bb19f9.tar.bz2 troggle-7dbaea5d24feff4cfa166bbea0a15acb27bb19f9.zip |
forbid changing year when editing existing logbook entry
Diffstat (limited to 'templates/logbookform.html')
-rw-r--r-- | templates/logbookform.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/logbookform.html b/templates/logbookform.html index ebc5111..4209e87 100644 --- a/templates/logbookform.html +++ b/templates/logbookform.html @@ -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" |