Move small close button to helper.

Workaround for show order deface override nuking attributes of the close button.
This commit is contained in:
wvengen 2015-04-10 18:58:51 +02:00
parent cf0fcccfc3
commit 507651f5ba
10 changed files with 18 additions and 12 deletions

View file

@ -1,7 +1,7 @@
= simple_form_for @group_order_article, remote: true do |form|
= form.hidden_field :order_article_id
.modal-header
= link_to t('ui.marks.close').html_safe, '#', class: 'close', data: {dismiss: 'modal'}
= close_button :modal
%h3= t('.amount_change_for', article: @order_article.article.name)
.modal-body
= form.input :ordergroup_id, as: :select, collection: Ordergroup.all.map { |g| [g.name, g.id] }