<h1><%= "Resultados de productos: #{@key}" %></h1>
<br>
<br>
<ul>
  <% @products.each do |product| %>
    <li>
      <h3><%= product.name %></h3>
      <%= link_to image_tag(product.picture, width: '200'), product %>
      <%= number_to_currency product.price, precision: 0 %>
      <%= link_to 'Detalle', product %></li>
  <% end %>
</ul>

<%= link_to 'Regresar a productos', products_path %>

<h3>Resultados de productos:
  <em><%= @product_name %></em>
</h3>
<br>
<br>
<% @products.in_groups_of(4, false).each do |products| %>
  <div class="row">

    <% products.each do |product| %>
      <div class="col-md-3">
        <div class="product-cont thumbnail">
          <h3><%= product.name %></h3>
          <%= link_to image_tag(product.picture, width: '200'), product %>
          <p><%= number_to_currency product.price, precision: 0 %></p>
        </div>
      </div>
    <% end %>
  </div>
<% end %>
<%= link_to 'Regresar a productos', products_path, class: 'btn btn-link' %>

Add basic style to products search results
Add basic style to products search results
