2013-12-31 11:41:14 +01:00
|
|
|
= simple_form_for [@order, @order_article], remote: true do |form|
|
2013-12-31 12:27:10 +01:00
|
|
|
= form.association :order, as: :hidden
|
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-31 12:27:10 +01:00
|
|
|
= form.association :article, collection: new_order_articles_collection
|
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'
|