diff options
author | Dave Arter <davea@mysociety.org> | 2019-08-06 14:58:59 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-06 14:58:59 +0100 |
commit | e5d107a72d38cf9ed45b3df3888e2348a3538fa3 (patch) | |
tree | 66ab5c74d1e05ed6da484896b8cce3341d8aea76 | |
parent | 53900243fef332513f3e9a88c96322dec946fcb3 (diff) |
Add confirmation to state delete action in admin
-rw-r--r-- | templates/web/base/admin/states/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/base/admin/states/index.html b/templates/web/base/admin/states/index.html index 1b68d4aea..ca2ef03d2 100644 --- a/templates/web/base/admin/states/index.html +++ b/templates/web/base/admin/states/index.html @@ -45,7 +45,7 @@ </td> <td style="text-align:center;vertical-align:middle" rowspan="[% rows %]"> [% IF state.label != 'confirmed' AND state.label != 'closed' %] - <input class="btn btn--small" type="submit" name="delete:[% state.label %]" value="Delete"> + <input class="btn btn--small btn-danger" type="submit" data-confirm="[% loc('Are you sure?') %]" name="delete:[% state.label %]" value="Delete"> [% END %] </td> </tr> |