Sha256: 5801534c0c4a386462f71aacfeee0c08ac577382e70dae5333cf7769268af09b

Contents?: true

Size: 1.82 KB

Versions: 4

Compression:

Stored size: 1.82 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 id="product-content" 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

4 entries across 4 versions & 1 rubygems

Version Path
adminpanel-0.1.1 app/views/adminpanel/products/show.html.erb
adminpanel-0.1.0cl.2 app/views/adminpanel/products/show.html.erb
adminpanel-0.1.0cl app/views/adminpanel/products/show.html.erb
adminpanel-0.1.0 app/views/adminpanel/products/show.html.erb