tab/app/views/transactions/new.html.haml

5 lines
173 B
Text
Raw Normal View History

2015-09-08 16:19:48 +02:00
= form_for @transaction do |f|
= f.collection_select :creditor, User.all, :id, :name, {}, { class: 'select2-selector' }
2015-09-08 16:19:48 +02:00
= f.number_field :amount
= f.submit "Send it!"