2012-01-02 13:54:01 +00:00
|
|
|
- content_for :head do
|
|
|
|
= render '/locomotive/content_assets/picker'
|
|
|
|
|
|
|
|
- content_for :backbone_view_data do
|
|
|
|
:plain
|
2012-02-02 15:53:26 +00:00
|
|
|
content_entry: #{@content_entry.to_json}
|
2012-01-02 13:54:01 +00:00
|
|
|
|
|
|
|
= f.inputs :name => :attributes do
|
|
|
|
- @content_type.ordered_entries_custom_fields.each_with_index do |field, index|
|
2012-02-01 01:01:42 +00:00
|
|
|
= render "locomotive/custom_fields/types/#{field.type}",
|
|
|
|
:f => f,
|
|
|
|
:name => field.name.to_sym,
|
|
|
|
:field => field,
|
|
|
|
:highlighted => field._id == @content_type.label_field_id
|
2012-01-02 13:54:01 +00:00
|
|
|
|
|
|
|
= 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
|