<% if @user.id.blank? then this_url = users_create_path else this_url = user_path(@user) end %> <%= form_for @user, :url => this_url do |f| %> <% if @user.errors.any? %>

<%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:

<% end %>
<%= f.label :name, "Full Name" %>
<%= f.text_field :name %>
<%= f.label :email %>
<%= f.email_field :email %>
<% if @user.id.blank? || !params[:password].nil? %>
<%= f.label :password %>
<%= f.password_field :password, :autocomplete => "off" %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<% else %>
Change Password
<% end %>
<%= f.label :waiver %>
<%= f.date_select :waiver, :include_blank => 'true', :default => 'nil' %>
<%= f.label :orientation %>
<%= f.date_select :orientation, :include_blank => 'true', :default => 'nil' %>
<%= f.label :emergency_name %>
<%= f.text_field :emergency_name %>
<%= f.label :emergency_phone %>
<%= f.text_field :emergency_phone %>
<%= f.label :emergency_email %>
<%= f.text_field :emergency_email %>
<%= f.label :member_level, "Desired Member Level" %>
<%= f.select :member_level, [[nil],["None",0],["Unable",1],["Volunteer",10],["Associate ($25)",25],["Basic ($50)",50],["Plus ($100)",100]] %>
<%= render :partial => "/users/payment_methods", :locals => { :g => f } %>
<%= f.label :phone %>
<%= f.text_field :phone %>
<%= f.label :current_skills, "What skills, knowledge and experience do you bring to the community?" %>
<%= f.text_area :current_skills %>
<%= f.label :desired_skills, "What skills, knowledge and experiences are you looking for in HeatSync?" %>
<%= f.text_area :desired_skills %>
<%= f.label :member, "Member?" %>
<%= f.select :member, [[nil],["No",0],["Inactive",1],["Volunteer",10],["Associate",25],["Basic",50],["Plus",100]] %>
<%= f.label :instructor, "Instructor?" %>
<%= f.check_box :instructor %>
<%= f.label :admin, "Admin?" %>
<%= f.check_box :admin %>
<%= f.label :hidden, "Hidden?" %>
<%= f.check_box :hidden %>

Cards

<%= f.submit %>
<% end %>