mirror of
https://github.com/we-promise/sure.git
synced 2026-04-13 17:14:05 +00:00
* Transaction scaffold * Rough in transaction views * Fix sort order * Fix mass assignment issue * Fix test * Simplify CI workflow * Don't seed db before test
8 lines
408 B
Plaintext
8 lines
408 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" %>
|
|
<%= f.number_field :amount, label: "Amount", step: :any, placeholder: number_to_currency(0), in: 0.00..100000000.00 %>
|
|
<%= f.submit %>
|
|
<% end %>
|