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 @@
- title t('.title', name: @order.name)
.well
%button{type: "button", class: "close", data: {dismiss: 'alert'}}= t('ui.marks.close').html_safe
= close_button :alert
%p
= raw t '.description1',
state: t("orders.state.#{@order.state}").capitalize,