Skip to content

Commit

Permalink
Move both buttons to left of "Step"
Browse files Browse the repository at this point in the history
  • Loading branch information
priyapower committed Jul 15, 2024
1 parent 7f3ddaa commit 32e3b50
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions app/components/form/title_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,19 @@
<%= link_to @nav_back do %>
<i class="lni lni-chevron-left"></i>
<% end %>
<% end %>
<p class="col-auto">
<%= @steps_in_text %>
</p>
<div class="col">
<div class="progress">
<div class="progress-bar primary-bg" role="progressbar" style="width: <%= @progress %>%" aria-valuenow="<%= @progress %>" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<% if @navigable %>
<%= link_to @nav_next do %>
<i class="lni lni-chevron-right"></i>
<% end %>
<% end %>
<p class="col-auto">
<%= @steps_in_text %>
</p>
<div class="col">
<div class="progress">
<div class="progress-bar primary-bg" role="progressbar" style="width: <%= @progress %>%" aria-valuenow="<%= @progress %>" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<% end %>
</div>

Expand Down

0 comments on commit 32e3b50

Please sign in to comment.