2013-12-31 11:41:14 +01:00
|
|
|
= simple_form_for [@order, @order_article], remote: true do |form|
|
2012-11-10 16:44:05 +01:00
|
|
|
.modal-header
|
2013-04-12 15:45:24 +02:00
|
|
|
= link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'}
|
2013-03-08 23:35:50 +01:00
|
|
|
%h3= t '.title'
|
2012-11-10 16:44:05 +01:00
|
|
|
.modal-body
|
2013-12-14 10:03:32 +01:00
|
|
|
= form.input :article_id, as: :select, collection: new_order_articles_collection, :label => Article.model_name.human # Why do we need the label?
|
2012-11-10 16:44:05 +01:00
|
|
|
.modal-footer
|
2013-04-12 15:45:24 +02:00
|
|
|
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
|
2013-03-08 23:35:50 +01:00
|
|
|
= form.submit class: 'btn btn-primary'
|