From ed1ebaade7b0083fb57f6899f29fe956b2430fe4 Mon Sep 17 00:00:00 2001 From: Justin Beaty Date: Tue, 15 Oct 2024 16:59:13 -0700 Subject: [PATCH] Testing rendering all fields from group part 2 --- .../default/template/customer/form/edit.phtml | 61 +++++++------------ 1 file changed, 21 insertions(+), 40 deletions(-) diff --git a/app/design/frontend/rwd/default/template/customer/form/edit.phtml b/app/design/frontend/rwd/default/template/customer/form/edit.phtml index 577c5b1f..1feeb2c2 100644 --- a/app/design/frontend/rwd/default/template/customer/form/edit.phtml +++ b/app/design/frontend/rwd/default/template/customer/form/edit.phtml @@ -15,44 +15,30 @@ getMessagesBlock()->toHtml() ?>
+ getBlockHtml('formkey') ?> + +getGroupedFields() ?> + $_group): ?>
- getBlockHtml('formkey') ?> -

__('Account Information') ?>

+

__($_group) ?>

+

__('* Required Fields') ?>

+
    -
  • - getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?> -
  • -
  • - -
    - -
    -
  • - getLayout()->createBlock('customer/widget_dob') ?> - isEnabled()): ?> -
  • setDate($this->getCustomer()->getDob())->toHtml() ?>
  • - - getLayout()->createBlock('customer/widget_taxvat') ?> - isEnabled()): ?> -
  • setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?>
  • - - getLayout()->createBlock('customer/widget_gender') ?> - isEnabled()): ?> -
  • setGender($this->getCustomer()->getGender())->toHtml() ?>
  • + $_attribute): ?> + getFrontendInput() ?> + getLayout()->createBlock($_block)->setData('attribute', $_attribute) ?> + isEnabled()): ?> +
  • setObject($this->getCustomer())->toHtml() ?>
  • + +
+
+ - getGroupedFields() as $_group => $_attributes): ?> -

__($_group) ?>

- $_attribute): ?> - getFrontendInput() ?> - getLayout()->createBlock($_block)->setData('attribute', $_attribute) ?> - isEnabled()): ?> -
  • setObject($this->getCustomer())->toHtml() ?>
  • - - - - +
    +

    __('Password Information') ?>

    +
    • @@ -64,12 +50,7 @@
    • getCustomer()->getChangePassword()==1): ?> checked="checked" class="checkbox" />
    • -
    -
    -