Profile:

<%= devise_error_messages! %>
<%= link_to image_tag(resource.gravatar_url), "https://www.gravatar.com", :title => "Adjust your photo at Gravatar.com" %>
Adjust your photo
at Gravatar.com
<%= render :partial => "user", :locals => { :resource => resource, :html => { :method => :put }, :button_label => "Update Profile" } %> <%= render "devise/shared/links" %> <%= link_to "Back", :back %>