mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02: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:
parent
868d4ede6e
commit
443b834b46
30 changed files with 35 additions and 68 deletions
|
@ -5,7 +5,7 @@
|
|||
Property::SUBTYPES.map { |k, v| [v[:long], k] },
|
||||
{ label: true, prompt: t("properties.form.subtype_prompt"), include_blank: t("properties.form.none") } %>
|
||||
|
||||
<hr class="my-4">
|
||||
<%= render "shared/ruler", classes: "my-4" %>
|
||||
|
||||
<div class="space-y-2">
|
||||
<%= form.fields_for :accountable do |property_form| %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue