<%= title t("product") %> <% content_for :right do -%>
  • <%= link_to t(:edit), edit_product_path(@product) %>
  • <%= link_to t(:back), products_path %>
  • <% end -%>

    <%= t(:name, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= @product.name %>

    <%= t(:description, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= raw @product.description %>

    <%= t(:short_description, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= raw @product.short_description %>

    <%= t(:price, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= @product.price %>

    <%= t(:weight, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= @product.weight %>

    <%= t(:length, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= @product.length %>

    <%= t(:height, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= @product.height %>

    <%= t(:product_category_id, scope: "activerecord.attributes.mechanize_store.product") %>:

    <%= @product.product_category.name unless @product.product_category.nil? %>

    Adicionar...
     
    <%= javascript_include_tag "mechanize_store/sb-admin/jquery-file-upload/main" %>