<%= 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", :tabindex => next_tab_index ) %>
<%= check_box( "context_state", "hide", {:tabindex => next_tab_index} ) %>
<% end -%>