<%= image_tag @user.gravatar_url(:default => "http://members.heatsynclabs.org/assets/nil.png") %>

Name: <%= @user.name %>

Waiver? <%= @user.waiver.strftime("%B %d %Y") unless @user.waiver.blank? %>

Current Member? <%= raw(@user.member_status_symbol) %>

Instructor? <%= @user.instructor? %>

<% if current_user.admin? then %>

Email: <%= @user.email %>

Orientation? <%= @user.orientation.strftime("%B %d %Y") unless @user.orientation.blank? %>

Emergency Name: <%= @user.emergency_name %>

Emergency Phone: <%= @user.emergency_phone %>

Emergency Email: <%= @user.emergency_email %>

Desired Member Level: <%= @user.member_level %>

Payment Method: <%= @user.payment_method %>

Payee: <%= @user.payee %>

Phone: <%= @user.phone %>

<% end %>

Current Skills: <%= simple_format @user.current_skills %>

Desired Skills: <%= simple_format @user.desired_skills %>

<% if current_user.admin? then %>

Found HeatSync via: <%= simple_format @user.marketing_source %>

<% end %>

Card: <% if current_user.admin? then %> <% @user.cards.each do |c| %> <%= link_to c.card_number, c %><%= "," unless c == @user.cards.last %> <% end %> <% else %> <%= unless @user.cards.blank? then raw("✓") end %> <% end %>

Certifications: <% if current_user.admin? then %>

Payments:

<% end %> <% if current_user.admin? then %>

Created: <%= @user.created_at %>

Last signed in: <%= @user.current_sign_in_at %>

<% end %> <% if can? :update, @user then %><%= link_to 'Edit', edit_user_path(@user) %> |<% end %> <%= link_to 'Back', users_path %>