Sha256: 10f42839496b0b592c8a3b4593064578534a0eaed2b1ec5f895ee3279d3da94c

Contents?: true

Size: 1.19 KB

Versions: 5

Compression:

Stored size: 1.19 KB

Contents

  <fieldset class="form_container">
    <%= legend_tag 'About This FAQ' -%>
    <div class="form_column">
      <%= f.text_field :headline, :label => 'Question' -%>
      <%= f.text_field :headline_short, :label => 'Shortened Headline/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} -%>
    </div>
    <div class="form_column">
      <%= f.text_field :summary, :label => 'Meta Description' -%>
      <%= f.text_field :keywords, :label => 'Meta Keywords' -%>
      <%= f.text_field :breadcrumbs, :label => 'Breadcrumbs Link Text' -%>
    </div>
    <br style="clear: both;" />
    <%= f.label 'Answer', :for => :content -%>
    <%= f.cktext_area :content, :toolbar => 'Full', :width => '900px' -%>
    <br style="clear: both;" />
    <%= f.label 'References', :for => :references -%>
    <%= f.cktext_area :references, :toolbar => 'Full', :width => '900px' -%>
  </fieldset>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
editorial_logic-1.3.3 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.3.2 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.3.1 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.3.0 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.1.6 app/views/admin/managed_contents/_faq_fields.html.erb