Sha256: d89c019ef5e98091c4773f1afe8aa9998f5b970a824e4d6cf77b5b3e308158a9

Contents?: true

Size: 628 Bytes

Versions: 10

Compression:

Stored size: 628 Bytes

Contents

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

  .field
    = f.label :page
    = f.text_field :page
  .field
    = f.label :content
    = f.text_field :content
  .field
    = f.label :position
    = f.number_field :position
  .field
    = f.label :component_type
    = f.text_field :component_type
  .field
    = f.label :id
    = f.text_field :id
  .actions = f.submit

Version data entries

10 entries across 10 versions & 1 rubygems

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