You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
785 B
25 lines
785 B
8 months ago
|
<% content_for :before_content do %>
|
||
|
<% content_for :title, "Are you sure you want to delete this scheme?" %>
|
||
|
<%= govuk_back_link(href: :back) %>
|
||
|
<% end %>
|
||
|
|
||
|
<div class="govuk-grid-row">
|
||
|
<div class="govuk-grid-column-two-thirds-from-desktop">
|
||
|
<span class="govuk-caption-xl">Delete <%= @scheme.service_name %></span>
|
||
|
<h1 class="govuk-heading-xl">
|
||
|
<%= content_for(:title) %>
|
||
|
</h1>
|
||
|
|
||
|
<%= govuk_warning_text(text: "You will not be able to undo this action.") %>
|
||
|
|
||
|
<div class="govuk-button-group">
|
||
|
<%= govuk_button_to(
|
||
|
"Delete this scheme",
|
||
|
scheme_delete_path(@scheme),
|
||
|
method: :delete,
|
||
|
) %>
|
||
|
<%= govuk_button_link_to "Cancel", scheme_path(@scheme), html: { method: :get }, secondary: true %>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|