Sha256: 0121d490556c226664553e6443b06c51e8bb73088f8be3a662536a1c246a2fc7
Contents?: true
Size: 1.5 KB
Versions: 11
Compression:
Stored size: 1.5 KB
Contents
<% if @section.errors.any? %> <div id="error_explanation"> <h2>Please correct the following errors::</h2> <% @section.errors.to_a.in_groups(2, false).each do |group| %> <ul> <% group.each do |msg| %> <li><%= msg %></li> <% end %> </ul> <% end %> <br style="clear: both;" /> </div> <br style="clear: both;" /> <% end %> <fieldset class="form_container"> <%= legend_tag 'About This Article Section' -%> <div class="form_column"> <%= f.text_field :headline -%> <%= f.text_field :desired_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'}/" -%> </div> <div class="form_column"> <%= 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.' -%> </div> </fieldset> <fieldset class="form_container" id="content_section"> <%= legend_tag 'Content ' -%> <%= f.cktext_area :content, :toolbar => 'Full', :width => '900px' -%> </fieldset> <%= f.submit 'Save', :class => 'button' -%> <%= link_to 'Cancel', admin_publication_managed_content_sections_path(@publication, @content), :class => 'button' -%> <br style="clear: both;" />
Version data entries
11 entries across 11 versions & 1 rubygems