Sha256: 626350b6d092a104a21aea51d22bb3eb61f64687209855e1670977da6f2e58bf

Contents?: true

Size: 832 Bytes

Versions: 11

Compression:

Stored size: 832 Bytes

Contents

  <fieldset class="form_container">
    <%= legend_tag 'About This Document' -%>
    <div class="form_column">
      <%= f.text_field :headline, :label => 'Title' -%>
      <%= f.text_field :desired_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

11 entries across 11 versions & 1 rubygems

Version Path
editorial_logic-1.3.3 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.3.2 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.3.1 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.3.0 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.6 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.5 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.4 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.3 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.2 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.1 app/views/admin/managed_contents/_document_fields.html.erb
editorial_logic-1.1.0 app/views/admin/managed_contents/_document_fields.html.erb