app/views/application/edit.html.haml in app_frame-0.5.8 vs app/views/application/edit.html.haml in app_frame-0.6.1
- old
+ new
@@ -1,10 +1,11 @@
- content_for :page_header do
= page_header resource.to_s do
= content_locale_switch(resource)
-
-= simple_nested_form_for resource_path_array, :html => {:class => 'form-inline' } do |f|
+
+= simple_nested_form_for resource_path_array do |f|
= hidden_field_tag :content_locale, params[:content_locale] if params[:content_locale]
+ = render 'errors'
= render 'form', :f => f
.form-actions
= f.button :submit, :class => 'btn btn-primary'
= link_to "Cancel", collection_path, :class => 'btn'
\ No newline at end of file