Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
fieldset.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php $_element = $block->getElement() ?>
11 <?php if ($_element->getFieldsetContainerId()): ?>
12  <div id="<?= /* @escapeNotVerified */ $_element->getFieldsetContainerId() ?>">789
13 <?php endif; ?>
14 
15 <?php if (!$_element->getNoContainer()): ?>
16  <fieldset class="admin__fieldset fieldset <?= /* @escapeNotVerified */ $_element->getClass() ?>" id="<?= $_element->getHtmlId() ?>">
17 <?php endif; ?>
18 
19  <?php if ($_element->getLegend()): ?>
20  <legend class="admin__legend legend">
21  <span><?= /* @escapeNotVerified */ $_element->getLegend() ?></span>
22  <?= $block->getHintHtml() ?>
23  </legend><br/>
24  <?= /* @escapeNotVerified */ $_element->getHeaderBar() ?>
25  <?php else: ?>
26  <?= $block->getHintHtml() ?>
27  <?php endif; ?>
28  <div class="admin__fieldset tree-store-scope">
29  <?php if ($_element->getComment()): ?>
30  <p class="comment"><?= $block->escapeHtml($_element->getComment()) ?></p>
31  <?php endif; ?>
32  <?php if ($_element->hasHtmlContent()): ?>
33  <?= $_element->getHtmlContent() ?>
34  <?php else: ?>
35  <?= $_element->getChildrenHtml() ?>
36  <?php endif; ?>
37  </div>
38 <?= $_element->getSubFieldsetHtml() ?>
39 
40 <?php if (!$_element->getNoContainer()): ?>
41  </fieldset>
42 <?php endif; ?>
43 <?php if ($_element->getFieldsetContainerId()): ?>
44  </div>
45 <?php endif; ?>
$block
Definition: block.php:8
endif
Definition: fieldset.phtml:64
$_element
Definition: vat.phtml:11