<h2>Welcome to Pizza Shop!</h2>
<br>
<div class="row">
  <%@products.each do |p|%>
    <div class="col-md-4">
      <div class="h4"><%=p.title%></div>
      <div><img src="<%=p.path_to_image%>" width="350"></div>
      <div class="text-center"><%=p.description%></div>
      <p>Size: <%=p.size%></p>
      <p>Price: <%=p.price%> rub.</p>
    </div>
  <%end%>
</div>

<h2>Welcome to Pizza Shop!</h2>
<br>
<div class="row">
  <%@products.each do |p|%>
    <div class="col-md-4">
      <div class="h4"><%=p.title%></div>
      <div><img src="<%=p.path_to_image%>" width="350"></div>
      <div class="text-center"><%=p.description%></div>
      <p>Size: <%=p.size%></p>
      <p>Price: <%=p.price%> rub.</p>
      <button class="btn btn-sm btn-success">Add to cart</button>
    </div>
  <%end%>
</div>

Add button "add to cart"
Add button "add to cart"
