Created
September 9, 2011 17:18
-
-
Save elight/1206789 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment