Sha256: d72c211cbf337449acd180924b980e15b52234eb6db16dfa23aab82addf767a7

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

- include_ckeditor

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

  .field
    = f.label :title
    = f.text_field :title
  .field
    = f.label :tag_list
    = f.text_field :tag_list

  .field
    = f.label :body
    = f.text_area :body, :class=>'ckeditor_textarea'
  .actions
    = f.submit 'Save'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wheels-0.0.22 app/views/pages/_form.html.haml