app/views/application/edit.html.haml in five-two-nw-olivander-0.1.2.2 vs app/views/application/edit.html.haml in five-two-nw-olivander-0.1.2.3
- old
+ new
@@ -1,11 +1,7 @@
- resource = (@_effective_resource || Effective::Resource.new(controller_path))
- @resource = instance_variable_get('@' + resource.name) if resource.name
- if @resource
.row
- .col-8
- %h1= @page_title
- .col-4.text-right
- = render_resource_buttons(@resource, edit: false)
-
- = render_resource_form(@resource)
+ .col-12
+ = render_resource_form(@resource)