Sha256: e1d851ec2bde20186a4de23d8a4d6ae033555fee59f160f24e1ca28916b13fd4

Contents?: true

Size: 824 Bytes

Versions: 6

Compression:

Stored size: 824 Bytes

Contents

  <fieldset class="form_container">
    <%= legend_tag 'About This Document' -%>
    <div class="form_column">
      <%= f.text_field :headline, :label => 'Title' -%>
      <%= f.text_field :slug, :value => @managed_content.slug, :help => "The slug is the portion of the URL that refers directly to this document. 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'}/" -%>
    </div>
    <div class="form_column">
      <%= f.select :state, ManagedContent::STATES.map{|s| s.capitalize} -%>
      <%= f.hidden_field :kind, :value => "Document" -%>
    </div>
  </fieldset>

  <fieldset class="form_container">
    <%= legend_tag 'Attach a Document' -%>
    <%= f.file_field :document, :label => false -%>
  </fieldset>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
editorial_logic-1.4.5 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.4.4 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.4.3 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.4.2 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.4.1 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.4.0 app/views/admin/managed_contents/_document_fields.html.erb