engine/app/views/locomotive/content_entries/_form.html.haml

22 lines
733 B
Plaintext
Raw Normal View History

- content_for :head do
= render '/locomotive/content_assets/picker'
- content_for :backbone_view_data do
:plain
2012-05-24 17:19:46 +00:00
content_entry: #{j @content_entry.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