%= form_for(@session) do |f| %>
<% if @session.errors.any? %>
<%= pluralize(@session.errors.count, "error") %> prohibited this session from being saved:
<% @session.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :user_id %>
<%= f.text_field :user_id %>
<%= f.label :token %>
<%= f.text_field :token %>
<%= f.submit %>
<% end %>