Skip to content

Commit

Permalink
Fix task links not showing
Browse files Browse the repository at this point in the history
When the provider was yet to verify the claim we weren't showing the
links to the next and previous tasks.
  • Loading branch information
rjlynch committed Sep 23, 2024
1 parent 315efdf commit 2f45e51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<%= govuk_button_to(
"Resend provider verification request",
admin_claim_further_education_payments_provider_verification_emails_path(@claim),
class: "govuk-!-margin-bottom-0"
class: "govuk-!-margin-bottom-2"
) %>
<% else %>
<p class="govuk-body">
Expand Down
11 changes: 5 additions & 6 deletions app/views/admin/tasks/provider_verification.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
<% end %>
</div>

<% if @tasks_presenter.provider_verification_submitted? %>
<div class="govuk-grid-column-two-thirds">
<div class="govuk-grid-column-two-thirds">
<% if @tasks_presenter.provider_verification_submitted? %>
<% if @task.persisted? %>
<%= render "task_outcome", task: @task, notes: @notes %>
<% else %>
<%= render "form", task_name: "provider_verification", claim: @claim %>
<% end %>

<%= render partial: "admin/task_pagination" %>
</div>
<% end %>
<% end %>
<%= render partial: "admin/task_pagination" %>
</div>
</div>

0 comments on commit 2f45e51

Please sign in to comment.