diff --git a/app/views/accounts/index/_account_groups.erb b/app/views/accounts/index/_account_groups.erb index 6c1ba1ed..841e60c2 100644 --- a/app/views/accounts/index/_account_groups.erb +++ b/app/views/accounts/index/_account_groups.erb @@ -12,8 +12,11 @@ <% end %>
- <% accounts.each do |account| %> + <% accounts.each_with_index do |account, index| %> <%= render account %> + <% unless index == accounts.count - 1 %> + <%= render "shared/ruler" %> + <% end %> <% end %>
diff --git a/app/views/pages/dashboard/_balance_sheet.html.erb b/app/views/pages/dashboard/_balance_sheet.html.erb index 5837e886..7a71afe7 100644 --- a/app/views/pages/dashboard/_balance_sheet.html.erb +++ b/app/views/pages/dashboard/_balance_sheet.html.erb @@ -132,6 +132,9 @@ <% end %> + <% unless idx == classification_group.account_groups.size - 1 %> + <%= render "shared/ruler", classes: "mx-4 group-ruler" %> + <% end %> <% end %> @@ -150,3 +153,10 @@ <% end %> + +<%# Custom style for hiding ruler when details are open %> +