Add dismiss button to sidebars in group_order form (idea stolen from foodcoops#143)
This commit is contained in:
parent
6ec81ace18
commit
3c8f56b24f
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
.row-fluid
|
.row-fluid
|
||||||
.well.pull-left
|
.well.pull-left
|
||||||
|
%button{type: "button", class: "close", data: {dismiss: 'alert'}}= '×'.html_safe
|
||||||
%h2= @order.name
|
%h2= @order.name
|
||||||
%dl.dl-horizontal
|
%dl.dl-horizontal
|
||||||
- unless @order.note.blank?
|
- unless @order.note.blank?
|
||||||
|
@ -37,6 +38,7 @@
|
||||||
%dd= number_to_currency(@ordering_data[:available_funds])
|
%dd= number_to_currency(@ordering_data[:available_funds])
|
||||||
|
|
||||||
.well.pull-right
|
.well.pull-right
|
||||||
|
%button{type: "button", class: "close", data: {dismiss: 'alert'}}= '×'.html_safe
|
||||||
= render 'switch_order', current_order: @order
|
= render 'switch_order', current_order: @order
|
||||||
|
|
||||||
.row-fluid
|
.row-fluid
|
||||||
|
|
Loading…
Reference in a new issue