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

8 lines
182 B
Plaintext
Raw Normal View History

2015-09-08 13:25:54 +00:00
2015-09-08 14:13:03 +00:00
<%= form_for @transaction do |f| %>
<%= f.select :creditor, User.all, {}, { class: 'select2-selector' } %>
<%= f.number_field :amount %>
<%= f.submit "Send it!" %>
<% end %>
2015-09-08 13:25:54 +00:00