Created
September 10, 2012 04:04
-
-
Save gertig/3688818 to your computer and use it in GitHub Desktop.
Use remote_avatar_for
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
<%= form_for @user, :html => {:multipart => true} do |f| %> | |
<p> | |
<label>My Avatar URL:</label> | |
<%= image_tag(@user.avatar_url) if @user.avatar? %> | |
<%= f.text_field :remote_avatar_url %> | |
</p> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment