app/views/admin/carousel/slides/edit.html.erb in comfy_carousel-0.0.0 vs app/views/admin/carousel/slides/edit.html.erb in comfy_carousel-0.0.1
- old
+ new
@@ -1,4 +1,5 @@
-%h1 Editing Slide
+<h1>Editing Slide</h1>
-= cms_form_for @slide, :url => {:action => :update} do |form|
- = render :partial => 'form', :object => form
\ No newline at end of file
+<%= comfy_form_for @slide, :as => :slide, :url => {:action => :update} do |form| %>
+ <%= render :partial => form %>
+<% end %>