<h2>Welcome to Pizza Shop!</h2>


<div class="container">
	<div class="row">
		<% @products.each do |p| %>
	  		<div class="col-xs-12 col-sm-6 col-md-4">
	  			<div>
	  				<%= p.title %>	
	  			</div>

	  			<div>
	  				<img src="<%= p.path_to_image%>" alt="Pizza view">
	  			</div>

	  			<div>
	  				<%= p.description %> 	  			
	  			</div>	

	  			<div>
	  				Size: <%= p.size %> cm  			
	  			</div>	  			

	  			<div>
	  				Price: <%= p.price %> rub	  			
	  			</div>
	  		</div>
		<% end %>
	</div>
</div>




<button class="btn btn-primary" onclick="something()">Click me!</button>


<h2>Welcome to Pizza Shop!</h2>


<div class="container">
	<div class="row">
		<% @products.each do |p| %>
	  		<div class="col-xs-12 col-sm-6 col-md-4">
	  			<div>
	  				<%= p.title %>	
	  			</div>

	  			<div>
	  				<img src="<%= p.path_to_image%>" alt="Pizza view">
	  			</div>

	  			<div>
	  				<%= p.description %> 	  			
	  			</div>	

	  			<div>
	  				Size: <%= p.size %> cm  			
	  			</div>	  			

	  			<div>
	  				Price: <%= p.price %> rub	  			
	  			</div>

	  			<div>
	  				<button class="btn btn-sm btn-success">Add to cart</button>
	  			</div>
	  		</div>
		<% end %>
	</div>
</div>




<button class="btn btn-primary" onclick="something()">Click me!</button>


Add button to each product
Add button to each product
