<% 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 %> <%= f.check_box :email_visible %> <%= f.label :email_visible, "Show Email to All Members?" %>
<% 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 :phone %>
<%= f.text_field :phone %> <%= f.check_box :phone_visible %> <%= f.label :phone_visible, "Show Phone to All Members?" %>
<%= f.label :postal_code, "Residential Postal Code" %>
<%= f.text_field :postal_code %> (we'd like to know where you're commuting from!)
<%= f.label :twitter_url %> <%= f.text_field :twitter_url, :placeholder => "https://twitter.com/heatsynclabs" %>
<%= f.label :facebook_url %> <%= f.text_field :facebook_url, :placeholder => "https://www.facebook.com/HeatSyncLabs" %>
<%= f.label :github_url %> <%= f.text_field :github_url, :placeholder => "https://github.com/heatsynclabs" %>
<%= f.label :website_url %> <%= f.text_field :website_url, :placeholder => "http://www.heatsynclabs.org" %>
<%= 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 :payee %>
<%= f.text_field :payee%>
<%= 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 :marketing_source, "How'd you find out about HeatSync?" %>
<%= f.text_area :marketing_source %>
<%= f.label :exit_reason, "Reason for Leaving" %>
<%= f.text_area :exit_reason %>
<%= f.label :instructor, "Instructor?" %>
<%= f.check_box :instructor %>
<%= f.label :admin, "Admin?" %>
<%= f.check_box :admin %>
<%= f.label :accountant, "Accountant?" %>
<%= f.check_box :accountant %>
<%= f.label :hidden, "Hidden?" %>
<%= f.check_box :hidden %>

Cards

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