Add edit button to Order cycles index

This commit is contained in:
Rob H
2014-06-20 16:22:55 +10:00
parent 1a0a8ec160
commit d6341b65e5
2 changed files with 4 additions and 0 deletions

View File

@@ -21,5 +21,7 @@
%br/
%span.with-tip{'data-powertip' => variant_images}= "#{order_cycle.variants.count} variants"
%td.actions
= link_to '', main_app.edit_admin_order_cycle_path(order_cycle), class: 'edit-order-cycle icon-edit no-text'
%td.actions
= link_to '', main_app.clone_admin_order_cycle_path(order_cycle), class: 'clone-order-cycle icon-copy no-text'

View File

@@ -18,6 +18,7 @@
%col
%col
%col
%col
%thead
%tr
@@ -29,6 +30,7 @@
%th Distributors
%th Products
%th.actions
%th.actions
%tbody
= f.fields_for :collection do |order_cycle_form|