%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/bbw/farmaci/kritik-portale/module/Backend/view/backend/form/
Upload File :
Create Path :
Current File : /var/www/html/bbw/farmaci/kritik-portale/module/Backend/view/backend/form/form-row.phtml

<?php /* @var $element Zend\Form\Element */ ?>
<?php $hasErrors = count($element->getMessages()) ?>
<?php $inputMap = ['textarea' => 'textarea']; ?>
<?php $input = isset($inputMap[$element->getAttribute('type')])
    ? $inputMap[$element->getAttribute('type')]
    : 'input';
?>
<section>
    <?= $this->formLabel($element) ?>
    <label class="<?= $input ?><?= $hasErrors ? ' state-error' : '' ?>">
        <?php if ($icon = $element->getOption('icon')): ?>
        <i class="icon-prepend fa fa-<?= $icon ?>"></i>
        <?php endif; ?>
        <?= $this->formElement($element) ?>
        <?php if ($helpText = $element->getOption('help_text')): ?>
        <b class="tooltip tooltip-top-right">
            <i class="fa fa-warning txt-color-teal"></i>
            <?= $this->escapeHtml($helpText) ?>
        </b>
        <?php endif; ?>
    </label>
    <?php if ($hasErrors): ?>
    <div class="form-error">
        <ul class="note note-error list-unstyled">
            <?php foreach ($element->getMessages() as $message): ?>
            <li><?= $message ?></li>
            <?php endforeach; ?>
        </ul>
    </div>
    <?php endif; ?>
</section>

Zerion Mini Shell 1.0