Skip to content

Commit

Permalink
remove duplicate main tag on sign in page
Browse files Browse the repository at this point in the history
  • Loading branch information
asmega committed Jun 18, 2024
1 parent 6326c22 commit 6f8d5d5
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions app/views/claims/sign_in_or_continue.html.erb
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
<% @backlink_path = landing_page_path %>
<main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing" id="main-content">

<% if @form.errors.any? %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<% if @form.errors.any? %>
<%= render(
"shared/error_summary",
instance: @form,
errored_field_id_overrides: { details_check: "claim_details_check_true" }
) %>
<% end %>
<%= render(
"shared/error_summary",
instance: @form,
errored_field_id_overrides: { details_check: "claim_details_check_true" }) %>
</div>
</div>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds govuk-body">
<% if @form.signed_in_with_dfe_identity? %>
<%= render partial: "confirm_detail", locals: { form: @form } %>
<% else %>
<%= render partial: "sign_in_or_continue" %>
<% end %>
</div>
<% end %>

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds govuk-body">
<% if @form.signed_in_with_dfe_identity? %>
<%= render partial: "confirm_detail", locals: { form: @form } %>
<% else %>
<%= render partial: "sign_in_or_continue" %>
<% end %>
</div>
</main>
</div>

0 comments on commit 6f8d5d5

Please sign in to comment.