<% if user.anonymous? %> <%= form_for(:user, :url => user_authentication_path(user), :html => { :method => :put }) do |f| %> <% end %> <% else %> <% end %>
<%= f.label :email, t("email") %> <%= f.text_field :email, :class => 'title', :value => (omniauth["extra"]["user_hash"]["email"] unless omniauth.nil? ) %> <%=submit_tag t("update") %><%= t("email") %>: <%= user.email %>

<%= link_to t('edit'), edit_account_path %>