Sha256: c426ae6d51430050cb64b018a4f2c23bc7fcb803bc0a3b81bae0407a51ffc040

Contents?: true

Size: 463 Bytes

Versions: 4

Compression:

Stored size: 463 Bytes

Contents

= form_for @page do |f|
  - if @page.errors.any?
    #error_explanation
      h2 = "#{pluralize(@page.errors.count, "error")} prohibited this page from being saved:"
      ul
        - @page.errors.full_messages.each do |message|
          li = message

  .field
    input type='hidden' id="content-editor" name="page[components]"
    = react_component("cm_content_manager/Content", {input: "content-editor", components: @page.components})

  .actions = f.submit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cm_page_builder-rails-0.2.0 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.12 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.11 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.10 app/views/cm_page_builder/rails/pages/_form.html.slim