Sha256: 0f5be57c27e797199c8a02ced26681336c6ecdabf705879d00393b608640e831

Contents?: true

Size: 789 Bytes

Versions: 5

Compression:

Stored size: 789 Bytes

Contents

- content_for :head do
  = render '/locomotive/content_assets/picker'

- content_for :backbone_view_data do
  :plain
    content_entry: #{j @content_entry.to_json.html_safe},
    content_type: #{j @content_type.to_json.html_safe}

= f.inputs :name => :attributes do
  - @content_type.ordered_entries_custom_fields.each_with_index do |field, index|
    = render "locomotive/custom_fields/types/#{field.type}",
      :f            => f,
      :name         => field.name.to_sym,
      :field        => field,
      :highlighted  => field._id == @content_type.label_field_id

= f.inputs :name => :advanced_options, :class => "inputs foldable #{'folded' if inputs_folded?(@content_entry)}" do

  = f.input :_slug
  = f.input :seo_title
  = f.input :meta_keywords
  = f.input :meta_description

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
tribeca_cms-0.1.1 app/views/locomotive/content_entries/_form.html.haml
tribeca_cms-2.0.0.rc12 app/views/locomotive/content_entries/_form.html.haml
locomotive_cms-2.0.0.rc12 app/views/locomotive/content_entries/_form.html.haml
locomotive_cms-2.0.0.rc11 app/views/locomotive/content_entries/_form.html.haml
locomotive_cms-2.0.0.rc10 app/views/locomotive/content_entries/_form.html.haml