|
|
|
@ -63,6 +63,7 @@
|
|
|
|
|
<%= f.hidden_field :interruption_page_referrer_type, value: @interruption_page_referrer_type %> |
|
|
|
|
|
|
|
|
|
<div class="govuk-button-group"> |
|
|
|
|
<% if !@page.interruption_screen? %> |
|
|
|
|
<% if accessed_from_duplicate_logs?(request.query_parameters["referrer"]) %> |
|
|
|
|
<%= f.govuk_submit "Save changes" %> |
|
|
|
|
<%= govuk_link_to "Cancel", send("#{@log.class.name.underscore}_duplicate_logs_path", @log, original_log_id: request.query_parameters["original_log_id"]) %> |
|
|
|
@ -76,6 +77,7 @@
|
|
|
|
|
(@page.skip_href(@log) || send(@log.form.next_page_redirect_path(@page, @log, current_user), @log)), |
|
|
|
|
) %> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|