1
0
Fork 0
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:
Zach Gollwitzer 2024-10-10 11:39:50 -04:00
parent 26bd655e4c
commit dce9adb534

View file

@ -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? %>