PRODUCT DETAILS

<%= render :partial => "shared/flash" %>

<%= link_to "Add new product", new_admin_product_feature_detail_path(id: @product.id), class: "btn btn-primary" %>


Product Name : <%= @product.name %>



<% @product_feature_details.each_with_index do |detail, x| %> <% end %>
# icon Title Description Order  
<%= @no+x+1 %> <%= image_tag detail.icon.url(:thumb) %> <%= detail.title %> <%= raw detail.description %> <%= detail.order_no %> <%= link_to "Edit", edit_admin_product_feature_detail_path(id: @product.id, product_feature_detail_id: detail.id), :class => "btn btn-success" %> <%= link_to "Delete", admin_product_feature_detail_path(id: @product.id, product_feature_detail_id: detail.id), :method => :delete, data: {:confirm => "Are you sure?"}, :class => "btn btn-danger" %>