Create shared ruler and standardize across views (#2240)

* Create shared ruler view

* Use collection rendering/spacer templates for rules, and new shared_ruler

* Use shared ruler for all the places a ruler is used

* Use shared ruler for imports and balance sheet

* Fix brakeman by using a static partial with a defined collection

* Update balance sheet
This commit is contained in:
Alex Hatzenbuhler
2025-05-20 14:13:18 -05:00
committed by GitHub
parent 868d4ede6e
commit 443b834b46
30 changed files with 35 additions and 68 deletions

View File

@@ -1,5 +1,5 @@
<% if variant == :divider %>
<hr class="border-tertiary my-1">
<%= render "shared/ruler", classes: "my-1" %>
<% else %>
<div class="px-1">
<%= wrapper do %>