Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
fax.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
10 ?>
11 
12 <div class="field fax <?= $block->isRequired() ? 'required' : '' ?>">
13  <label for="fax" class="label">
14  <span>
15  <?= $block->escapeHtml(__('Fax')) ?>
16  </span>
17  </label>
18  <div class="control">
19  <?php
20  $_validationClass = $block->escapeHtmlAttr(
21  $this->helper('Magento\Customer\Helper\Address')
22  ->getAttributeValidationClass('fax')
23  );
24  ?>
25  <input type="text"
26  name="fax"
27  id="fax"
28  value="<?= $block->escapeHtmlAttr($block->getFax()) ?>"
29  title="<?= $block->escapeHtmlAttr(__('Fax')) ?>"
30  class="input-text <?= $_validationClass ?: '' ?>"
31  >
32  </div>
33 </div>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
$_validationClass
Definition: fax.phtml:20
__()
Definition: __.php:13
$block
Definition: block.php:8