Sha256: ede9613e9689d2394459b8e5e0a709d240c8220be9f4426b37a884f4261927d7

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

- content_for :main do 

  %h1.page_icon Edit '#{@page_content.field_name}' on '#{@page.name}'

  Note: No validation is performed on this input, nor is any history recorded.
  .cms_form
    = form_for @page_content, :url=>"/page/#{@page.id}/content/#{@page_content.id}", :method=>:post do |f|

      = ace_editor('html', :page_content, :value, f)

      .div
        = kit_submit "Save" 
        = icon_to "Cancel", "/page/#{@page.id}/contents"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kit_cms-2.3.9 app/views/pages/content_edit.html.haml
kit_cms-2.3.8 app/views/pages/content_edit.html.haml
kit_cms-2.3.7 app/views/pages/content_edit.html.haml
kit_cms-2.3.6 app/views/pages/content_edit.html.haml