From 80ca251abae31ab4a09d92e852fc80f96a97b82e Mon Sep 17 00:00:00 2001 From: Charlie Parker Date: Wed, 8 Jan 2025 13:35:29 -0500 Subject: [PATCH] unwrap values for breadcrumb, add back to button --- app/views/insured/families/_verification_header.html.erb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/views/insured/families/_verification_header.html.erb b/app/views/insured/families/_verification_header.html.erb index 848b83d86ba..bd43ec6bb2e 100644 --- a/app/views/insured/families/_verification_header.html.erb +++ b/app/views/insured/families/_verification_header.html.erb @@ -8,7 +8,7 @@ <% current_step_index = steps.keys.find_index(action_name) %> @@ -62,4 +62,9 @@
<%= @verification.verif_due_date %>
<% end %> - \ No newline at end of file + + +
+ <% prior_step = steps.values[current_step_index - 1] %> + <%= link_to("Back to " + prior_step[:title], prior_step[:link], class: 'button') %> +