aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-05-03 21:50:32 +0100
committerChristopher Baines <mail@cbaines.net>2018-05-03 21:50:32 +0100
commitfbe5d8c0b948606fbadc35f3f03635b212644490 (patch)
tree7d622a4d954a3920333b61a9cbbcca4c5007e607 /app/views
parent64602080a8342e6c9b2c9001d9c0a0f96342a7de (diff)
downloadgovuk-mini-environment-admin-fbe5d8c0b948606fbadc35f3f03635b212644490.tar
govuk-mini-environment-admin-fbe5d8c0b948606fbadc35f3f03635b212644490.tar.gz
Don't disable the Destroy button
Diffstat (limited to 'app/views')
-rw-r--r--app/views/mini_environments/show.html.erb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/mini_environments/show.html.erb b/app/views/mini_environments/show.html.erb
index b7241a8..848b401 100644
--- a/app/views/mini_environments/show.html.erb
+++ b/app/views/mini_environments/show.html.erb
@@ -49,7 +49,6 @@ License along with the GOV.UK Mini Environment Admin. If not, see
local: true,
method: "post") do %>
<%= submit_tag("Destroy",
- disabled: @mini_environment.backend_data.present?,
role: 'button',
class: 'list-group-item btn btn-lg btn-danger btn-block',
style: 'margin-top: 5px;')