Private
Public Access
1
0

delete on intervals.icu confirm - planned sessions

This commit is contained in:
2024-12-27 16:34:12 +01:00
parent 028a9b2d8f
commit 911a986d37
3 changed files with 14 additions and 0 deletions

View File

@@ -13,6 +13,11 @@
<form action="" method="post">
{% csrf_token %}
<p>Are you sure you want to delete <em>{{ object }}</em>?</p>
{% if object.intervals_icu_id and object.manager.rower.intervals_delete_plannedsession %}
<p><input type="checkbox" checked name="intervals_delete" value="yes"> Confirm deletion on intervals.icu</p>
{% elif object.intervals_icu_id %}
<p><input type="checkbox" name="intervals_delete" value="yes"> Also delete on intervals.icu</p>
{% endif %}
<input class="button red" type="submit" value="Confirm">
</form>
</p>