Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Add institution back as hidden field on account form

Zach Gollwitzerdce9adb53411
diff --git a/app/views/accounts/_form.html.erb b/app/views/accounts/_form.html.erb
index e9263f0b..d682e0b9 100644
--- a/app/views/accounts/_form.html.erb
+++ b/app/views/accounts/_form.html.erb
@@ -4,6 +4,7 @@
<div class="grow space-y-2">
<%= f.hidden_field :accountable_type %>
<%= f.text_field :name, placeholder: t(".name_placeholder"), required: "required", label: t(".name_label"), autofocus: true %>
+ <%= f.hidden_field :institution_id %>
<%= f.money_field :balance, label: t(".balance"), required: true, default_currency: Current.family.currency %>
<% if account.new_record? %>