Created
July 18, 2009 00:40
-
-
Save jamesyu/149362 to your computer and use it in GitHub Desktop.
This file contains 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
<% if current_user and (current_user == @user) and current_user.word_picture.nil? %> | |
<%= link_to image_tag('ADD_PROFILE_PIC.GIF'), :controller => 'people', :action => 'upload_picture' %> | |
<% else %> | |
NORMAL PROFILE PIC | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment