SHARE
TWEET

Untitled

a guest Mar 27th, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% for i in (0...3) %>
  2.       <div class="card">
  3.         <div class="img-padding">
  4.           <img src="https://image.shutterstock.com/z/stock-photo--d-rendered-illustration-of-the-words-stock-photo-1329169754.jpg" class="card-img-top" alt="...">
  5.         </div>
  6.         <div class="card-body">
  7.           <h5 class="card-title"><%= Product.all[i].name %></h5>
  8.           <p><%= Product.all[i].description %></p>
  9.           <div class="d-flex justify-content-between">
  10.             <span>Cena: <%= Product.all[i].price %> ZŁ</span><span align="right">Pozostało sztuk: <%= Product.all[i].quantity %></span>
  11.           </div>
  12.         </div>
  13.       </div>
  14.     <% end %>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top