Sha256: 67c4cd9f8b802ae85df078e62f3e826516f03065bd1bb82b793e14690900b1ea

Contents?: true

Size: 1.19 KB

Versions: 2

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 => 'Basic', :width => '900px' -%>
    <br style="clear: both;" />
    <%= f.label 'References', :for => :references -%>
    <%= 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.5 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.1.4 app/views/admin/managed_contents/_faq_fields.html.erb