app/views/admin/resources/edit.html.erb in hyper_admin-0.2.0 vs app/views/admin/resources/edit.html.erb in hyper_admin-0.3.0

- old
+ new

@@ -1,9 +1,8 @@ -<div class="row"> - <div class="col-xs-12"> - <header class="page-header"> - <h1>Edit <%= @resource_class.model_name.singular %></h1> - </header> - </div> -</div> +<page-header> + <h1>Edit {{ editCtrl.resource_class.singular }}</h1> +</page-header> -<%= render "admin/resources/form", resource_class: @resource_class, resource: @resource %> +<resource-form resource-class="editCtrl.resource_class"> +</resource-form> + +<%= render "admin/resources/form" %>