app/views/admin/shop/customers/new.html.haml in radiant-shop-extension-0.10.0 vs app/views/admin/shop/customers/new.html.haml in radiant-shop-extension-0.11.0
- old
+ new
@@ -1,11 +1,11 @@
+- @page_title = t('new_customer')
+
- render_region :main do |main|
- - main.header do
- %h1
- = @shop_customer.name
- = render 'admin/shop/customers/edit/head'
- - main.form do
- - form_for :shop_customer, :url => admin_shop_customers_path, :html => {:id => 'new_shop_customer', :multipart => true, 'data-onsubmit_status'=>"Creating Customer…"} do |f|
- = render :partial => 'admin/shop/customers/edit/fields', :locals => { :f => f }
+ - main.head do
+ = render 'admin/shop/customers/edit/head'
+
- main.popups do
- #popups
- = render 'admin/shop/customers/edit/popups'
+ = render 'admin/shop/customers/edit/popups'
+
+ - main.form do
+ = render 'admin/shop/customers/edit/form'
\ No newline at end of file