diff --git a/app/views/components/_income_switch.erb b/app/views/components/_income_switch.erb index fe8154a..8459cc0 100644 --- a/app/views/components/_income_switch.erb +++ b/app/views/components/_income_switch.erb @@ -1,7 +1,6 @@ <%= form_with url: income_switch_url, local: true do |form| %> <% end %> \ No newline at end of file diff --git a/app/views/dashboard/_index.html.erb b/app/views/dashboard/_index.html.erb index 1385eff..7d544af 100644 --- a/app/views/dashboard/_index.html.erb +++ b/app/views/dashboard/_index.html.erb @@ -2,8 +2,12 @@
+
+ Budget Calculator +
+
-

Final Budget

+
Switch Income Type
Savings Rate %
Investing Rate %
@@ -62,8 +66,10 @@
<%= turbo_frame_tag "income_header_frame" do %> -

Income

- <%= link_to "New Income", new_income_path, data: { turbo_frame: :incomes }, class: "btn btn-primary" %> + Incomes +
+ <%= link_to "New Income", new_income_path, data: { turbo_frame: :incomes }, class: "btn btn-primary" %> +
<% end %>
@@ -80,8 +86,10 @@
<%= turbo_frame_tag "fixed_expense_header_frame" do %> -

Fixed Expenses

- <%= link_to "New Fixed Expense", new_fixed_expense_path, data: { turbo_frame: :fixed_expenses }, class: "btn btn-primary" %> + Fixed Expenses +
+ <%= link_to "New Fixed Expense", new_fixed_expense_path, data: { turbo_frame: :fixed_expenses }, class: "btn btn-primary" %> +
<% end %> <%= render "fixed_expenses/index" %>