Guest User

Untitled

a guest
Jan 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. - pres = UserPresenter.new(@user).render do
  2. - content_for :title, "#{github_login}'s profile"
  3.  
  4. #user-profile
  5. = image_tag gravatar_image_url, class: :avatar
  6.  
  7. %h2= name
  8.  
  9. %ul
  10. %li.pairing-preference
  11. %label
  12. Pairing preference
  13. %span.value= pairing_preference
  14. - display_location do |loc|
  15. %li.location
  16. %label Location
  17. %span.value= loc
  18. - display_email do |email|
  19. %li.email
  20. %label E-mail
  21. %span.value= mail_to email, email, encode: "javascript"
  22. - display_twitter do |handle, link|
  23. %li.twitter
  24. %label Twitter
  25. %span.value= link_to handle, link
  26. %li.interests
  27. %label Interests
  28. %span.value.lengthy= interest_links
Add Comment
Please, Sign In to add comment