tab/app/views/transactions/new.html.haml
2015-09-08 16:53:43 +02:00

4 lines
173 B
Text

= form_for @transaction do |f|
= f.collection_select :creditor, User.all, :id, :name, {}, { class: 'select2-selector' }
= f.number_field :amount
= f.submit "Send it!"