lib/generators/admin/scaffold_controller/templates/views/erb/edit.html.erb.erb in admin_help-0.1.3 vs lib/generators/admin/scaffold_controller/templates/views/erb/edit.html.erb.erb in admin_help-0.1.4
- old
+ new
@@ -1,6 +1,5 @@
-<h1>Editing <%= singular_table_name %></h1>
+<div class="panel">
+ <h1><%%= t('actions.edit') + <%= singular_table_name.classify %>.model_name.human %></h1>
-<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>
-
-<%%= link_to 'Show', <%= "[:#{prefix}, @#{singular_table_name}]" %> %> |
-<%%= link_to 'Back', <%= prefixed_index_helper %>_path %>
+ <%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>
+<div>