Sha256: 05dbcd169755878ac83f4c9d6983fcaa50963727369fd223cfdba592caa3d29a

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

  <fieldset class="form_container">
    <%= legend_tag 'About This FAQ' -%>
    <div class="form_column">
      <%= f.text_field :headline, :label => 'Question' -%>
      <%= f.text_field :desired_slug, :value => @managed_content.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}/#{@managed_content.slug || 'foo'}/" -%>
      <%= f.select :state, ManagedContent::STATES.map{|s| s.capitalize} -%>
    </div>
    <div class="form_column">
      <%= f.text_field :summary -%>
      <%= f.text_field :keywords -%>
      <%= f.text_field :breadcrumbs -%>
      <%= f.text_field :subheader, :label => 'Header' -%>
    </div>
    <br style="clear: both;" />
    <%= f.label 'Answer', :for => :content -%><br />
    <%= f.cktext_area :content, :toolbar => 'Basic', :width => '900px' -%>
    <br style="clear: both;" />
    <%= f.label 'References', :for => :references -%><br />
    <%= f.cktext_area :references, :toolbar => 'Basic', :width => '900px' -%>
  </fieldset>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
editorial_logic-1.1.3 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.1.2 app/views/admin/managed_contents/_faq_fields.html.erb