tab/app/views/transactions/new.html.erb
2015-09-08 16:13:03 +02:00

8 lines
182 B
Plaintext

<%= form_for @transaction do |f| %>
<%= f.select :creditor, User.all, {}, { class: 'select2-selector' } %>
<%= f.number_field :amount %>
<%= f.submit "Send it!" %>
<% end %>