lib/generators/admin/scaffold_controller/templates/views/erb/new.html.erb.erb in admin_help-0.1.3 vs lib/generators/admin/scaffold_controller/templates/views/erb/new.html.erb.erb in admin_help-0.1.4
- old
+ new
@@ -1,5 +1,5 @@
-<h1>New <%= singular_table_name_camelcase %></h1>
+<div class="panel">
+ <h1><%%= t('actions.new') + <%= singular_table_name.classify %>.model_name.human %></h1>
-<%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>
-
-<%%= link_to 'Back', <%= prefixed_index_helper %>_path %>
+ <%%= render 'form', <%= singular_table_name %>: @<%= singular_table_name %> %>
+</div>