diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml b/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml index 7824cbd9118..210da89863c 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/layout/customer_account_edit.xml @@ -23,6 +23,7 @@ Magento\Customer\Model\Customer + Magento\Customer\ViewModel\EditAccountButton CustomerFileAttribute diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml index a8aa1667d47..5cb2769b92d 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/edit.phtml @@ -11,6 +11,7 @@ use Magento\Customer\Block\Widget\Gender; use Magento\Customer\Block\Widget\Name; use Magento\Customer\Block\Widget\Taxvat; +$editAccountButtonViewModel = $block->getData('edit_account_button_view_model'); ?>
-
diff --git a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml index 74e8ca58a6a..ec69945183f 100644 --- a/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml +++ b/vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/form/register.phtml @@ -21,6 +21,8 @@ $addressHelper = $block->getData('addressHelper'); /** @var \Magento\Directory\Helper\Data $directoryHelper */ $directoryHelper = $block->getData('directoryHelper'); +/** @var \Magento\Customer\ViewModel\CreateAccountButton $createAccountButtonViewModel */ +$createAccountButtonViewModel = $block->getData('create_account_button_view_model'); ?> getData('directoryHelper');
@@ -310,6 +314,7 @@ $directoryHelper = $block->getData('directoryHelper'); getConfig("general/region/display_all") ? "true" : "false"; ?> + +