<%= form_for(@new_context, :html => {:id => 'context-form',:name=>'context',:class => "inline-form", :method => :post }) do -%>
<% if @new_context.errors.any? -%>
<% @new_context.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end -%>
<%= text_field( "context", "name" ) %>
<%= check_box( "context_state", "hide" ) %>
<% end -%>