diff --git a/base/templates/shift_request/htmx/requests.html b/base/templates/shift_request/htmx/requests.html index 5a87dcc47..be837ebdf 100755 --- a/base/templates/shift_request/htmx/requests.html +++ b/base/templates/shift_request/htmx/requests.html @@ -115,6 +115,17 @@ {% else %} {% endif %} + + + {% if shift_request.approved == False and shift_request.canceled == False %}
{% csrf_token %} diff --git a/base/templates/work_type_request/htmx/requests.html b/base/templates/work_type_request/htmx/requests.html index a01ee53a4..d661b8409 100755 --- a/base/templates/work_type_request/htmx/requests.html +++ b/base/templates/work_type_request/htmx/requests.html @@ -134,6 +134,17 @@ style="cursor: pointer; display: none;" {% else %} {% endif %} + + + {% if work_type_request.approved == False and work_type_request.canceled == False %} {% csrf_token %}