mirror of
https://github.com/we-promise/sure.git
synced 2026-04-09 07:14:47 +00:00
8 lines
367 B
Plaintext
8 lines
367 B
Plaintext
<%= 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", placeholder: "Groceries" %>
|
|
<%= f.money_field :amount_money, label: "Amount" %>
|
|
<%= f.submit %>
|
|
<% end %>
|