You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
<?php if ($showLabel && $showField): ?>
|
|
<?php if ($options['wrapper'] !== false): ?>
|
|
<div <?= $options['wrapperAttrs'] ?> >
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
|
|
<?php if ($showLabel && $options['label'] !== false && $options['label_show']): ?>
|
|
<?= Form::customLabel($name, $options['label'], $options['label_attr']) ?>
|
|
<?php endif; ?>
|
|
|
|
<?= config("laravel-form-builder.inline") && !isset($options["pure"]) && !isset($options["pure"]) ? '<div class="controls col-sm-10">' : "" ?>
|
|
<?php if ($showField): ?>
|
|
<?php foreach ((array)$options['children'] as $child): ?>
|
|
<?php if (!in_array($child->getRealName(), (array)$options['exclude'])) { ?>
|
|
<?= $child->render() ?>
|
|
<?php } ?>
|
|
<?php endforeach; ?>
|
|
<?php include 'help_block.php' ?>
|
|
<?php endif; ?>
|
|
<?= config("laravel-form-builder.inline") && !isset($options["pure"]) && !isset($options["pure"]) ? '</div>' : "" ?>
|
|
|
|
<?php include 'errors.php' ?>
|
|
|
|
<?php if ($showLabel && $showField): ?>
|
|
<?php if ($options['wrapper'] !== false): ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|