From 1bea4534846780e5716e2e8d3e6b2263dd23a7fb Mon Sep 17 00:00:00 2001 From: Priya Power <49959312+priyapower@users.noreply.github.com> Date: Wed, 17 Jul 2024 15:11:08 -0500 Subject: [PATCH] [#5777] :broom: --- .../form/step_navigation_component.html.erb | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/app/components/form/step_navigation_component.html.erb b/app/components/form/step_navigation_component.html.erb index d27d150f79..c8d729f8ae 100644 --- a/app/components/form/step_navigation_component.html.erb +++ b/app/components/form/step_navigation_component.html.erb @@ -3,25 +3,24 @@ <%= button_tag type: :submit, name: :nav_step, value: @nav_back, - class: "btn btn-link #{@nav_back.nil? ? 'disabled' : 'enabled'}", - title: "Back step", - aria: { label: "Back step" }, + class: "btn btn-link #{@nav_back.nil? ? 'disabled' : 'enabled'}", + title: "Back step", + aria: { label: "Back step" }, disabled: !@nav_back do %> <%= link_to @nav_back, title: "Back step", aria: { label: "Back step" } do %> - + <% end %> <% end %> - <%# Next navigation %> - <%= button_tag type: :submit, + <%= button_tag type: :submit, name: :nav_step, value: @nav_forward, class: "btn btn-link #{@nav_next.nil? ? 'disabled' : 'enabled'}", - title: "Next step", - aria: { label: "Next step" }, + title: "Next step", + aria: { label: "Next step" }, disabled: !@nav_next do %> <%= link_to @nav_next, title: "Next step", aria: { label: "Next step" } do %> - + <% end %> <% end %> - \ No newline at end of file +