From ac76a206c10560a8c722740fb6b6919eb3c569c9 Mon Sep 17 00:00:00 2001 From: touffies Date: Fri, 8 Nov 2013 10:54:03 +0100 Subject: [PATCH] Remove role="form" on a form element. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Role Form should be use on a region of the document that represents a collection of form-associated elements.
GOOD
BAD --- templates/default/account-password.html | 2 +- templates/default/account-update.html | 2 +- templates/default/address-update.html | 2 +- templates/default/address.html | 2 +- templates/default/cart.html | 2 +- templates/default/contact.html | 2 +- templates/default/includes/categories-filters.html | 2 +- templates/default/includes/mini-cart.html | 2 +- templates/default/includes/single-product.html | 2 +- templates/default/layout.tpl | 11 ++++++----- templates/default/login.html | 2 +- templates/default/newsletter.html | 2 +- templates/default/order-delivery.html | 2 +- templates/default/order-invoice.html | 4 ++-- templates/default/password.html | 2 +- templates/default/product.html | 2 +- templates/default/register.html | 2 +- 17 files changed, 23 insertions(+), 22 deletions(-) diff --git a/templates/default/account-password.html b/templates/default/account-password.html index 1e67d4520..653ed9eef 100644 --- a/templates/default/account-password.html +++ b/templates/default/account-password.html @@ -25,7 +25,7 @@

{intl l="Change Password"}

{form name="thelia.front.customer.password.update"} -
+ {form_field form=$form field='success_url'} {/form_field} diff --git a/templates/default/account-update.html b/templates/default/account-update.html index d7b38e773..d4ba0fadb 100644 --- a/templates/default/account-update.html +++ b/templates/default/account-update.html @@ -24,7 +24,7 @@

{intl l="Update Profile"}

{form name="thelia.front.customer.profile.update"} - + {form_field form=$form field='success_url'} {/form_field} diff --git a/templates/default/address-update.html b/templates/default/address-update.html index 8ab66107d..f31d3eaaa 100644 --- a/templates/default/address-update.html +++ b/templates/default/address-update.html @@ -24,7 +24,7 @@

{intl l="Address Update"}

{form name="thelia.front.address.update"} {loop name="customer.update" type="address" customer="current" id="{$address_id}"} - + {form_field form=$form field='success_url'} {/form_field} diff --git a/templates/default/address.html b/templates/default/address.html index ac625af2b..771d4aad5 100644 --- a/templates/default/address.html +++ b/templates/default/address.html @@ -23,7 +23,7 @@

{intl l="Create New Address"}

{form name="thelia.front.address.create"} - + {form_field form=$form field='success_url'} {/form_field} diff --git a/templates/default/cart.html b/templates/default/cart.html index 592b5f34c..22d0af420 100644 --- a/templates/default/cart.html +++ b/templates/default/cart.html @@ -98,7 +98,7 @@
- + diff --git a/templates/default/layout.tpl b/templates/default/layout.tpl index d89694ab5..588461306 100644 --- a/templates/default/layout.tpl +++ b/templates/default/layout.tpl @@ -34,12 +34,13 @@ GNU General Public License : http://www.gnu.org/licenses/ {block name="page-title"}{strip}{if $breadcrumbs}{foreach from=$breadcrumbs|array_reverse item=breadcrumb}{$breadcrumb.title} - {/foreach}{/if}{config key="company_name"}{/strip}{/block} {* Meta Tags *} - - - {block name="meta"}{/block} + {block name="meta"} + + + {/block} {* Stylesheets *} {stylesheets file='assets/less/styles.less' filters='less,cssembed'} @@ -100,7 +101,7 @@ GNU General Public License : http://www.gnu.org/licenses/