app/views/admin/snippet/new.html.erb in kit_cms-2.3.20 vs app/views/admin/snippet/new.html.erb in kit_cms-2.3.22
- old
+ new
@@ -15,10 +15,10 @@
Should this snippet appear in the editor's insert list?
</div>
</div>
<b>Content:</b><br/>
- <%= cm_editor('html', :snippet, :body, f) %>
+ <%= cm_editor("snippet[body]", {:mode=>'html'}) %>
<%= kit_submit "Save" %> or <%= icon_to "Cancel", "/admin/snippet" %>
<% end %>
</div>
<% end %>