Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vat.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
11 $_element = $block->getElement();
12 $_note = $_element->getNote();
13 $_class = $_element->getFieldsetHtmlClass();
14 $_validateButton = $block->getValidateButton();
15 ?>
16 <?php if (!$_element->getNoDisplay()): ?>
17 <div class="admin__field field-vat-number">
18  <?php if ($_element->getType() == 'hidden'): ?>
19  <div class="hidden"><?= $_element->getElementHtml() ?></div>
20  <?php else: ?>
21  <?= $_element->getLabelHtml() ?>
22  <div class="admin__field-control <?= /* @noEscape */ $_element->hasValueClass() ? $block->escapeHtmlAttr($_element->getValueClass()) : 'value' ?><?= $_class ? $block->escapeHtmlAttr($_class) . '-value' : '' ?>">
23  <?= $_element->getElementHtml() ?>
24  <?php if ($_note): ?>
25  <div class="admin__field-note<?= $_class ? " {$_class}-note" : '' ?>" id="note_<?= $block->escapeHtmlAttr($_element->getId()) ?>">
26  <span><?= $block->escapeHtml($_note) ?></span>
27  </div>
28  <?php endif; ?>
29  <div class="actions">
30  <?= $_validateButton->toHtml() ?>
31  </div>
32  </div>
33  <?php endif; ?>
34 </div>
35 <?php endif; ?>
$_class
Definition: vat.phtml:13
$block
Definition: block.php:8
if(! $_element->getNoDisplay())( $_element->getType()=='hidden')() ?></div ><?php else() ?>< div class if($_note) note
Definition: vat.phtml:24
$_validateButton
Definition: vat.phtml:14
$_note
Definition: vat.phtml:12
endif
Definition: vat.phtml:30
$_element
Definition: vat.phtml:11