mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 20:44:08 +00:00
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:
committed by
GitHub
parent
868d4ede6e
commit
443b834b46
@@ -1,7 +1,7 @@
|
||||
<%# locals: (account:, url:) %>
|
||||
|
||||
<%= render "accounts/form", account: account, url: url do |form| %>
|
||||
<hr class="my-4">
|
||||
<%= render "shared/ruler", classes: "my-4" %>
|
||||
|
||||
<div class="space-y-2">
|
||||
<%= form.fields_for :accountable do |loan_form| %>
|
||||
|
||||
Reference in New Issue
Block a user