daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Jun 22nd, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% if @user.id == 5 %>
  2.  <div id="bill-franklin">
  3.    CONTENT
  4. <% elsif @user.id == 6 %>
  5.  <div id="joan-smith">
  6.    CONTENT
  7.    
  8. <div class="<%= @user.color %>" >
  9.   CONTENT
  10. </div>
  11.    
  12. <div class="my_user_<%= @user.id %>" >
  13.   CONTENT
  14. </div>
  15.    
  16. .my_user_1 { background-color: red; }
  17. .my_user_2 { background-color: blue; }
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