fix delete order confirmation
This commit is contained in:
parent
c54e15dc04
commit
86a5576dc3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
||||||
-# TODO btn-success class only if not received before
|
-# TODO btn-success class only if not received before
|
||||||
= link_to t('orders.index.action_receive'), receive_order_path(@order), class: 'btn btn-success'
|
= link_to t('orders.index.action_receive'), receive_order_path(@order), class: 'btn btn-success'
|
||||||
- unless @order.closed?
|
- unless @order.closed?
|
||||||
= link_to t('ui.delete'), @order, data_confirm: t('.confirm_delete'), method: :delete,
|
= link_to t('ui.delete'), @order, data: {confirm: t('.confirm_delete')}, method: :delete,
|
||||||
class: 'btn btn-danger'
|
class: 'btn btn-danger'
|
||||||
|
|
||||||
%section#articles_table
|
%section#articles_table
|
||||||
|
|
Loading…
Reference in a new issue