User Details

<% if current_user -%> <%= f.label :email %> <%= f.text_field :email, { :readonly => true, :class => "readonly required" } %> or <%= link_to 'LOGOUT', main_app.destroy_user_session_path, :method => :delete, :class => "last" %> <% else -%> <%= f.label :email %> <%= f.text_field :email, :class => "required" %>
or <%= link_to 'LOG IN', main_app.new_user_session_path %> <% end -%>
<%= f.label :phone %> <%= f.text_field :phone, :class => "required" %>