Sha256: dc247fa2bf26f1915470eba8928c31cf7a0e87e73d621d7168e9afc31dbea4fd

Contents?: true

Size: 1.64 KB

Versions: 11

Compression:

Stored size: 1.64 KB

Contents

  <% if @publication.errors.any? %>
    <div id="error_explanation">
      <h2>Please correct the following errors::</h2>
      <ul>
      <% @publication.errors.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
      <br style="clear: both;" />
    </div>
    <br style="clear: both;" />
  <% end %>

  <fieldset class="form_container">
    <%= legend_tag 'About This Publication' -%>

    <div class="form_column">
      <%= f.text_field :name, :help => 'The name you provide will be used in the page title for the publcation.' -%>
      <%= f.text_field :desired_slug, :label => 'URL', :value => @publication.humanize_path, :help => 'Enter the desired web address for this publcation, e.g. /press-releases/' -%>
      <%= f.select :content_type, Publication::CONTENT_TYPES, :include_blank => 'Select...' -%>
      <%= f.check_box :rss_feed_enabled, :label => "RSS Feed", :inline_label => "Enabled", :help => 'Click this checkbox to enable an RSS news feed for this publication.' -%><br />
      <%= f.check_box :pdf_enabled, :label => "Auto-Create PDFs", :inline_label => "Enabled", :help => 'Click this checkbox to automatically create PDF versions of content in this publication.' -%>
    </div>
    <div class="form_column">
      <%= f.text_area :description, :help => 'The description you provide below will be used as introductory content on the main page for this publication.' -%>
    </div>
    <br style="clear: both;" />
    <div class="link_block">
      <%= f.submit 'Save', :class => 'link_button' -%>
      <%= link_to 'Cancel', admin_publications_path, :class => 'link_button' -%>
    </div>
  </fieldset>

  <br style="clear: both;" />

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
editorial_logic-1.3.3 app/views/admin/publications/_form.html.erb
editorial_logic-1.3.2 app/views/admin/publications/_form.html.erb
editorial_logic-1.3.1 app/views/admin/publications/_form.html.erb
editorial_logic-1.3.0 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.6 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.5 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.4 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.3 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.2 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.1 app/views/admin/publications/_form.html.erb
editorial_logic-1.1.0 app/views/admin/publications/_form.html.erb