%= render :partial => 'admin/shared/product_sub_menu' %>
<%= t("sku") %> | <%= sort_link @search,:name, t("name"), {}, {:title => 'admin_products_listing_name_title'} %> | <%= sort_link @search,:master_price, t("master_price") %> | <% end %><%= hook :admin_products_index_header_actions %> |
---|---|---|---|
<%= product.sku %> | <%= product.name %> | <%= product.price %> | <% end %><%= hook :admin_products_index_row_actions, locals do %> <%= link_to_edit product, :class => 'edit' unless product.deleted? %> <%= link_to_clone product, :class => 'clone' %> <%= link_to_delete product unless product.deleted? %> <% end %> |
<%= f.label :name_contains, t("name") %>
<%= f.text_field :name_contains, :size => 15 %>
<%= f.label :variants_including_master_sku_contains, t("sku") %>
<%= f.text_field :variants_including_master_sku_contains, :size => 15 %>
<%= f.label :deleted_at_is_null, t("show_deleted") %>
<%= f.check_box :deleted_at_is_null, {:checked => params[:search][:deleted_at_is_null].blank?}, "", "1" %>
<%= label_tag :model_id, "ID товара на ЯМ" %>
<%= text_field_tag :model_id %>
<%= check_box_tag :available %> <%= label_tag :available, "сделать доступным" %>