選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 
 

31 行
963 B

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