diff --git a/app/views/orders/show.html.haml b/app/views/orders/show.html.haml index bb2f1a98..a8894d12 100644 --- a/app/views/orders/show.html.haml +++ b/app/views/orders/show.html.haml @@ -30,7 +30,7 @@ - if @order.open? = link_to t('ui.edit'), edit_order_path(@order), class: 'btn' = link_to t('.action_end'), finish_order_path(@order), method: :post, class: 'btn btn-success', - confirm: t('.confirm_end') + confirm: t('.confirm_end', order: @order.name) - unless @order.closed? = link_to t('ui.delete'), @order, confirm: t('.confirm_delete'), method: :delete, class: 'btn btn-danger'