Move small close button to helper.
Workaround for show order deface override nuking attributes of the close button.
This commit is contained in:
parent
cf0fcccfc3
commit
507651f5ba
10 changed files with 18 additions and 12 deletions
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
.row-fluid
|
||||
.well.pull-left
|
||||
%button{type: "button", class: "close", data: {dismiss: 'alert'}}= '×'.html_safe
|
||||
= close_button :alert
|
||||
%h2= @order.name
|
||||
%dl.dl-horizontal
|
||||
- unless @order.note.blank?
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
%dd= number_to_currency(@ordering_data[:available_funds])
|
||||
|
||||
.well.pull-right
|
||||
%button{type: "button", class: "close", data: {dismiss: 'alert'}}= '×'.html_safe
|
||||
= close_button :alert
|
||||
= render 'switch_order', current_order: @order
|
||||
|
||||
.row-fluid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue