<?php
defined('C5_EXECUTE') or die("Access Denied.");
?>

<div class="form-group">
    <?php if ($view->supportsLabel()) { ?>
        <label class="control-label"><?=$view->getLabel()?></label>
    <?php } ?>

    <?php if ($context->isRequired()) : ?>
        <span class="label label-info"><?= t('Required') ?></span>
    <?php endif; ?>

    <?php if ($context->getTooltip()): ?>
        <i class="fa fa-question-circle launch-tooltip" title="" data-original-title="<?=$context->getTooltip()?>"></i>
    <?php endif; ?>

    <?php $view->renderControl()?>
</div>
