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 +