7 lines
265 B
Plaintext
7 lines
265 B
Plaintext
= @transaction.errors.full_messages.join(", ")
|
|
= form_for @transaction do |f|
|
|
= f.collection_select :creditor_id, User.all, :id, :name, {}, { class: 'select2-selector' }
|
|
= f.number_field :amount
|
|
= f.text_field :message, required: true
|
|
= f.submit "Send it!"
|