mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-24 15:49:39 +02:00
Add institution back as hidden field on account form
This commit is contained in:
parent
26bd655e4c
commit
dce9adb534
1 changed files with 1 additions and 0 deletions
|
@ -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? %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue