fax.phtml 944 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @codingStandardsIgnoreFile
  7. /** @var \Magento\Customer\Block\Widget\Fax $block */
  8. ?>
  9. <div class="field fax <?= $block->isRequired() ? 'required' : '' ?>">
  10. <label for="fax" class="label">
  11. <span>
  12. <?= $block->escapeHtml(__('Fax')) ?>
  13. </span>
  14. </label>
  15. <div class="control">
  16. <?php
  17. $_validationClass = $block->escapeHtmlAttr(
  18. $this->helper('Magento\Customer\Helper\Address')
  19. ->getAttributeValidationClass('fax')
  20. );
  21. ?>
  22. <input type="text"
  23. name="fax"
  24. id="fax"
  25. value="<?= $block->escapeHtmlAttr($block->getFax()) ?>"
  26. title="<?= $block->escapeHtmlAttr(__('Fax')) ?>"
  27. class="input-text <?= $_validationClass ?: '' ?>"
  28. >
  29. </div>
  30. </div>