<% if @section.errors.any? %>

Please correct the following errors::

<% @section.errors.to_a.in_groups(2, false).each do |group| %> <% end %>

<% end %>
<%= legend_tag 'About This Article Section' -%>
<%= f.text_field :headline -%> <%= f.text_field :slug, :value => @section.slug, :help => "The slug is the portion of the URL that refers directly to this article. The full URL will consist of the slug for the managed content section plus what you enter below, e.g. /#{@publication.slug}/#{@content.slug}/#{@section.slug || 'foo'}/" -%>
<%= f.text_area :summary, :help => 'The summary should provide a brief description of the content, up to 255 characters. The summary may be used by search engines to describe the content on this page.' -%>
<%= legend_tag 'Content ' -%> <%= f.cktext_area :content, :toolbar => 'Full', :width => '900px' -%>
<%= f.submit 'Save', :class => 'button' -%> <%= link_to 'Cancel', admin_publication_managed_content_sections_path(@publication, @content), :class => 'button' -%>