Sha256: c4419f36002c4b9f2a136788d87ee18dbba418a48fedc5e579578dfab70a0594

Contents?: true

Size: 776 Bytes

Versions: 3

Compression:

Stored size: 776 Bytes

Contents

.well
  = form.input :title
  = form.input :meta_description
  = form.input :body, input_html: { 'data-add-editor': Itsf::Backend.features?(:'ace-rails-ap'), 'data-editor-syntax': form.object.handler }

.well
  = form.input :pathname
  = form.input :basename
  = form.input :locale,  collection: I18n.available_locales
  = form.input :format,  collection: Mime::SET.symbols
  = form.input :handler, collection: ActionView::Template::Handlers.extensions

.well
  = form.input :layout

.well
  - Ecm::Cms::Navigation.where(locale: I18n.locale).all.each do |navigation|
    = form.association :ecm_cms_navigation_items, as: :check_boxes, collection: navigation.ecm_cms_navigation_items.joins(:ecm_cms_navigation).where(ecm_cms_navigations: { locale: locale }), label_method: :key

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecm_cms2_backend-1.2.0 app/views/ecm/cms/backend/pages/_form.html.haml
ecm_cms2_backend-1.1.0 app/views/ecm/cms/backend/pages/_form.html.haml
ecm_cms2_backend-1.0.5 app/views/ecm/cms/backend/pages/_form.html.haml