app/views/pages/content_edit.html.haml in kit_cms-2.3.20 vs app/views/pages/content_edit.html.haml in kit_cms-2.3.22
- old
+ new
@@ -4,10 +4,10 @@
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|
- = cm_editor('html', :page_content, :value, f)
+ = cm_editor("page_content[value]", {:mode=>"html"})
.div
= kit_submit "Save"
= icon_to "Cancel", "/page/#{@page.id}/contents"