app/views/pages/_form.html.haml in wheels-0.0.22 vs app/views/pages/_form.html.haml in wheels-0.0.23
- old
+ new
@@ -1,14 +1,14 @@
- include_ckeditor
-= form_for @page do |f|
+= render :partial => "child_pages_links"
+= form_for form_object, :url=>form_url 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