From d4fe415f49a0126101999bc0f1b80a000382fe15 Mon Sep 17 00:00:00 2001 From: hatz Date: Tue, 20 May 2025 15:27:54 -0500 Subject: [PATCH] misc cleanup --- app/views/categories/index.html.erb | 2 +- app/views/family_merchants/index.html.erb | 4 ++-- app/views/holdings/index.html.erb | 4 ++-- app/views/rules/index.html.erb | 4 ++-- app/views/tags/index.html.erb | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index 5f630e74..e15c0976 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -22,7 +22,7 @@ -
+
<% if @categories.any? %>
<% if @categories.incomes.any? %> diff --git a/app/views/family_merchants/index.html.erb b/app/views/family_merchants/index.html.erb index 64f6cac0..7438aa2b 100644 --- a/app/views/family_merchants/index.html.erb +++ b/app/views/family_merchants/index.html.erb @@ -9,7 +9,7 @@ ) %> -
+
<% if @merchants.any? %>
@@ -18,7 +18,7 @@

<%= @merchants.count %>

-
+
<%= render partial: "family_merchants/family_merchant", collection: @merchants, spacer_template: "shared/ruler" %>
diff --git a/app/views/holdings/index.html.erb b/app/views/holdings/index.html.erb index fe098f8b..d200e54f 100644 --- a/app/views/holdings/index.html.erb +++ b/app/views/holdings/index.html.erb @@ -13,7 +13,7 @@ <% end %>
-
+
<%= tag.p t(".name"), class: "col-span-4" %> <%= tag.p t(".weight"), class: "col-span-2 justify-self-end" %> @@ -22,7 +22,7 @@ <%= tag.p t(".return"), class: "col-span-2 justify-self-end" %>
-
+
<%= render "holdings/cash", account: @account %> <%= render "shared/ruler" %> diff --git a/app/views/rules/index.html.erb b/app/views/rules/index.html.erb index b8d0eef5..dc6e97aa 100644 --- a/app/views/rules/index.html.erb +++ b/app/views/rules/index.html.erb @@ -29,7 +29,7 @@

<% end %> -
+
<% if @rules.any? %>
@@ -58,7 +58,7 @@
-
+
<%= render partial: "rule", collection: @rules, spacer_template: "shared/ruler" %>
diff --git a/app/views/tags/index.html.erb b/app/views/tags/index.html.erb index 0fdaf0ec..39b21b1e 100644 --- a/app/views/tags/index.html.erb +++ b/app/views/tags/index.html.erb @@ -24,7 +24,7 @@ -
+
<% if @tags.any? %>
@@ -33,7 +33,7 @@

<%= @tags.count %>

-
+
<%= render partial: @tags, spacer_template: "shared/ruler" %>