Sha256: 1035e48bae2e774471f8d2f7b86c0964250dd37e5cd7a0f927fb6184adeb92e0

Contents?: true

Size: 497 Bytes

Versions: 8

Compression:

Stored size: 497 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]"
    - components = @page.get_components
    = react_component("cm_content_manager/Content", {input: "content-editor", components: components})

  .actions = f.submit

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cm_page_builder-rails-0.1.9 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.8 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.7 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.6 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.4 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.3 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.2 app/views/cm_page_builder/rails/pages/_form.html.slim
cm_page_builder-rails-0.1.1 app/views/cm_page_builder/rails/pages/_form.html.slim