From 2d58054d1cbd42069747164676b5d97dec646223 Mon Sep 17 00:00:00 2001 From: Manuel Wiedenmann Date: Sat, 9 Feb 2013 18:18:07 +0700 Subject: [PATCH] added order for interpolation --- app/views/orders/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'