Name: <%= @user.name %>

Email: <%= @user.email %>

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

<% if current_user.admin? then %>

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

<% end %>

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

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

Admin? <%= @user.admin? %>

<% if current_user.admin? then %>

Cards: <% @user.cards.each do |c| %> <%= link_to c.card_number, c %><%= "," unless c == @user.cards.last %> <% end %>

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