Disable delete button for ppoc
This commit is contained in:
parent
6bca7c7660
commit
339ad64935
@ -9,6 +9,8 @@
|
|||||||
{% if subform.user_id.data == user.id %}
|
{% if subform.user_id.data == user.id %}
|
||||||
<span class='you'>(<span class='green'>you</span>)</span>
|
<span class='you'>(<span class='green'>you</span>)</span>
|
||||||
{% set archive_button_class = 'usa-button-disabled' %}
|
{% set archive_button_class = 'usa-button-disabled' %}
|
||||||
|
{% elif ppoc %}
|
||||||
|
{% set archive_button_class = 'usa-button-disabled' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set archive_button_class = 'usa-button-secondary' %}
|
{% set archive_button_class = 'usa-button-secondary' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user