Sha256: 2be43b5c40a68dfbe0ba6828d2bce2c4e8c37caaae8e95d7f4ab41d0af9f57e2
Contents?: true
Size: 1.8 KB
Versions: 8
Compression:
Stored size: 1.8 KB
Contents
<% provide(:page_title, @product.name.humanize) %> <% breadcrumb_add('Productos', products_path) %> <div class="row-fluid"> <div class="widget span6"> <div class="widget-header"> <i class="icon-truck"></i> <h5><%= @product.name.humanize %> <%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_product_path(@product), :title => "Editar Producto" %> </h5> </div> <div class="widget-body"> <div class="widget-tickets widget-tickets-large clearfix"><ul> <li class="priority-high"> <div class="span3"> <h6>Breve Descripción:</h6> </div> <div class="span8"> <%= @product.brief %> </div> </li> <li class="priority-high"> <div class="span3"> <h6>Descripción:</h6> </div> <div class="span8"> <%= @product.description.html_safe %> </div> </li> <li class="priority-high"> <div class="span3"> <h6>Categoría</h6> </div> <div class="span8"> <%= @product.category.name %> </div> </li> </ul></div> </div> </div> <div class="widget widget-padding span6"> <div class="widget-header"> <i class="icon-truck"></i> <h5>Galería: <%= @product.name.humanize %> <%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_product_path(@product), :title => "Editar Producto" %> </h5> </div> <div class="widget-body row-fluid"> <div id="gallery-container" class="js-masonry" data-masonry-options='{ "columnWidth": 3, "itemSelector": ".gallery-item" }'> <% @product.images.each do |image|%> <div class="gallery-item"> <%= link_to (image_tag image.file_url(:thumb)), image.file.to_s, :rel => "group", :name => @product.name %> </div> <% end %> </div> </div> </div> </div>
Version data entries
8 entries across 8 versions & 1 rubygems