Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - pres = UserPresenter.new(@user).render do
- - content_for :title, "#{github_login}'s profile"
- #user-profile
- = image_tag gravatar_image_url, class: :avatar
- %h2= name
- %ul
- %li.pairing-preference
- %label
- Pairing preference
- %span.value= pairing_preference
- - display_location do |loc|
- %li.location
- %label Location
- %span.value= loc
- - display_email do |email|
- %li.email
- %label E-mail
- %span.value= mail_to email, email, encode: "javascript"
- - display_twitter do |handle, link|
- %li.twitter
- %label Twitter
- %span.value= link_to handle, link
- %li.interests
- %label Interests
- %span.value.lengthy= interest_links
Add Comment
Please, Sign In to add comment