Guest User

Untitled

a guest
Apr 16th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <div class="comment">
  2.  
  3. <% if bgcolor?
  4. bgcolor = true -%>
  5. <div class=\"body\"
  6. <% else -%>
  7. <div class=\"body\" style=\"background:#eee;\">
  8. <% end -%>
  9. <small class="metadata"><%= comment.created_at.to_s(:long) -%></small>
  10. <cite><span><%= h(comment.name) -%> says:</span></cite><br />
  11. <p><%= h(comment.body) -%></p>
  12. </div>
  13. </div>
Add Comment
Please, Sign In to add comment