app/views/admin/pages/new.html.erb in spree_static_content-0.40.2 vs app/views/admin/pages/new.html.erb in spree_static_content-0.60.0

- old
+ new

@@ -1,12 +1,10 @@ -<%= render :partial => 'admin/shared/configuration_menu' %> - -<h1><%= t("ext_static_content_new_page") %></h1> +<h1><%= t("static_content.new_page") %></h1> <%= render "shared/error_messages", :target => @page %> -<% form_for(:page, :url => collection_url) do |f| %> +<%= semantic_form_for([:admin, @page]) do |f| %> <%= render :partial => "form", :locals => { :f => f } %> <p class="form-buttons"> <%= button t("actions.create"), nil, 'submit' %> - <%= t("or") %> <%= link_to t("actions.cancel"), collection_url %> + <%= t("or") %> <%= link_to t("actions.cancel"), admin_pages_path %> </p> <% end %>