From 440be0218ede3e78c407c3096800b4663444227e Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Mon, 6 Nov 2023 14:37:11 +0530 Subject: [PATCH] refactor: add some basic styling for the form fields and errors --- templates/_partials/form-errors.tpl | 4 ++-- templates/_partials/form-fields.tpl | 24 ++++++------------------ 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/templates/_partials/form-errors.tpl b/templates/_partials/form-errors.tpl index 73e3948..8b9d251 100644 --- a/templates/_partials/form-errors.tpl +++ b/templates/_partials/form-errors.tpl @@ -23,11 +23,11 @@ * International Registered Trademark & Property of PrestaShop SA *} {if $errors|count} -
+
{block name='form_errors'}
    {foreach $errors as $error} -
  • {$error|nl2br nofilter}
  • +
  • {$error|nl2br nofilter}
  • {/foreach}
{/block} diff --git a/templates/_partials/form-fields.tpl b/templates/_partials/form-fields.tpl index 32ffe5a..ce2d197 100644 --- a/templates/_partials/form-fields.tpl +++ b/templates/_partials/form-fields.tpl @@ -30,8 +30,8 @@ {else} -
-