<% content_for :before_content do %> <% content_for :title, "Are you sure you want to begin this merge?" %> <%= govuk_back_link href: merge_request_path(@merge_request) %> <% end %>

<%= content_for(:title) %>

<%= govuk_warning_text(text: "You will not be able to undo this action.") %>
<%= govuk_button_to( "Begin merge", start_merge_merge_request_path(@merge_request), method: :patch, ) %> <%= govuk_button_link_to( "Cancel", merge_request_path(@merge_request), secondary: true, ) %>