mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-04 21:15:19 +02:00
8 lines
408 B
Text
8 lines
408 B
Text
|
<%= form_with model: @transaction do |f| %>
|
||
|
<%= f.collection_select :account_id, Current.family.accounts, :id, :name, { prompt: "Select an Account", label: "Account" } %>
|
||
|
<%= f.date_field :date, label: "Date" %>
|
||
|
<%= f.text_field :name, label: "Name" %>
|
||
|
<%= f.number_field :amount, label: "Amount", step: :any, placeholder: number_to_currency(0), in: 0.00..100000000.00 %>
|
||
|
<%= f.submit %>
|
||
|
<% end %>
|