+
<%= totals_by_currency(collection: entries, money_method: :amount_money, negate: true) %>
<% end %>
diff --git a/app/views/splits/_category_select.html.erb b/app/views/splits/_category_select.html.erb
index 17e1ea75c..001919322 100644
--- a/app/views/splits/_category_select.html.erb
+++ b/app/views/splits/_category_select.html.erb
@@ -4,7 +4,7 @@
default_color = "#737373"
%>
-
+
<% @children.each_with_index do |child, index| %>
-
-
+
+
-
+
ds--dialog#close" }
+ type: "button",
+ data: { action: "click->DS--dialog#close" }
) %>
<%= render DS::Button.new(
text: t("splits.edit.submit"),
diff --git a/app/views/splits/new.html.erb b/app/views/splits/new.html.erb
index d4d101eaf..7b93a71d3 100644
--- a/app/views/splits/new.html.erb
+++ b/app/views/splits/new.html.erb
@@ -35,8 +35,8 @@
<%# Split rows %>
-
-
+
+
-
+
-
+
@@ -94,8 +94,8 @@
<%= render DS::Button.new(
text: t("splits.new.cancel"),
variant: "outline",
- href: "#",
- data: { action: "click->ds--dialog#close" }
+ type: "button",
+ data: { action: "click->DS--dialog#close" }
) %>
<%= render DS::Button.new(
text: t("splits.new.submit"),