Sha256: c23825383b53204ff20a17cc8d9b6f53e506ae95c34d090117cc9a7f08f51fcb

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 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 :title -%>
      <%= 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.1 app/views/admin/managed_contents/_faq_fields.html.erb
editorial_logic-1.1.0 app/views/admin/managed_contents/_faq_fields.html.erb