app/views/admin/pages/_form.html.haml in locomotive_cms-0.0.1.4 vs app/views/admin/pages/_form.html.haml in locomotive_cms-0.0.2

- old
+ new

@@ -4,10 +4,10 @@ = f.foldable_inputs :name => :information do = f.input :title - = f.input :layout_id, :as => :select, :collection => current_site.layouts.all, :input_html => { :data_url => admin_layout_page_parts_url('_id_to_replace_') } + = f.input :layout_id, :as => :select, :collection => current_site.layouts.all.to_a, :input_html => { :data_url => admin_layout_page_parts_url('_id_to_replace_') } - if not @page.index? and not @page.not_found? = f.input :parent_id, :as => :select, :collection => parent_pages_options, :include_blank => false = f.input :slug, :required => false, :hint => @page.slug.blank? ? ' ' : @page.url, :input_html => { :data_url => get_path_admin_pages_url, :disabled => @page.index? || @page.not_found? } \ No newline at end of file