Skip to content

Commit

Permalink
fix back link
Browse files Browse the repository at this point in the history
  • Loading branch information
asmega committed Sep 11, 2024
1 parent 56edc4a commit 662acd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/admin/tasks/payroll_gender.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<% content_for(:page_title) { page_title("Claim #{@claim.reference} payroll gender check for #{@claim.policy.short_name}") } %>

<%= link_to "Back", admin_claim_tasks_path(claim_id: @claim.id), class: "govuk-back-link" %>
<% content_for :back_link do %>
<%= link_to "Back", admin_claim_tasks_path(claim_id: @claim.id), class: "govuk-back-link" %>
<% end %>
<%= render "shared/error_summary", instance: @claim, errored_field_id_overrides: { "payroll_gender": "claim_payroll_gender_female" } if @claim.errors.any? %>

<div class="govuk-grid-row">
Expand Down

0 comments on commit 662acd0

Please sign in to comment.