Skip to content

Commit

Permalink
Fixed missing tags in return_item_decision template.
Browse files Browse the repository at this point in the history
  • Loading branch information
reinaris authored and Jeff Dutil committed Mar 9, 2015
1 parent a1b5d45 commit af4a53f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
</td>
<% if show_decision %>
<td class='actions actions-2'>
<%= button_to [:admin, return_item], { class: 'icon icon-thumbs-up icon_link no-text with-tip display-inline', params: { "return_item[acceptance_status]" => 'accepted' }, "data-action" => 'save', title: Spree.t(:accept), method: 'put' } do %>
Spree.t(:accept)
<%= button_to [:admin, return_item], { class: 'with-tip display-inline btn btn-success btn-sm', params: { "return_item[acceptance_status]" => 'accepted' }, "data-action" => 'save', title: Spree.t(:accept), method: 'put' } do %>
<%= Spree.t(:accept) %>
<% end if can?(:accept, return_item) %>
<%= button_to [:admin, return_item], { class: 'icon icon-thumbs-down icon_link no-text with-tip display-inline', params: { "return_item[acceptance_status]" => 'rejected' }, "data-action" => 'remove', title: Spree.t(:reject), method: 'put' } do %>
Spree.t(:reject)
<%= button_to [:admin, return_item], { class: 'with-tip display-inline btn btn-danger btn-sm', params: { "return_item[acceptance_status]" => 'rejected' }, "data-action" => 'remove', title: Spree.t(:reject), method: 'put' } do %>
<%= Spree.t(:reject) %>
<% end if can?(:reject, return_item) %>
</td>
<% end %>
Expand Down

0 comments on commit af4a53f

Please sign in to comment.