<?php
/* Smarty version 4.3.1, created on 2023-11-29 01:35:58
  from '/Users/nikolaimv/Sites/it-academy.loc/admin/templates/components/fields/select.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.1',
  'unifunc' => 'content_65664f2e186281_65251316',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '47f9d7f7c647af005cabc56807ca60e0342a3474' => 
    array (
      0 => '/Users/nikolaimv/Sites/it-academy.loc/admin/templates/components/fields/select.tpl',
      1 => 1679630384,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_65664f2e186281_65251316 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/Users/nikolaimv/Sites/it-academy.loc/includes/composer/vendor/smarty/smarty/libs/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
if ((isset($_smarty_tpl->tpl_vars['col']->value)) && !empty($_smarty_tpl->tpl_vars['col']->value)) {?><div class="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['col']->value, ENT_QUOTES, 'UTF-8', true);?>
"><?php }?>
	<div class="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['class']->value, ENT_QUOTES, 'UTF-8', true);?>
">
		<?php if ((isset($_smarty_tpl->tpl_vars['title']->value)) && !empty($_smarty_tpl->tpl_vars['title']->value)) {?><label class="form-label is-visible"><?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['title']->value, ENT_QUOTES, 'UTF-8', true);?>
</label><?php }?>
	    <?php ob_start();
if ((isset($_smarty_tpl->tpl_vars['width']->value)) && !empty($_smarty_tpl->tpl_vars['width']->value)) {
echo (string)$_smarty_tpl->tpl_vars['width']->value;
} else {
echo "100%";
}
$_prefixVariable1=ob_get_clean();
echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['array']->value,'name'=>((string)$_smarty_tpl->tpl_vars['field']->value),'id'=>((string)$_smarty_tpl->tpl_vars['id']->value),'selected'=>$_smarty_tpl->tpl_vars['selected']->value,'class'=>"form-control select",'data-width'=>$_prefixVariable1),$_smarty_tpl);?>

	</div>
<?php if ((isset($_smarty_tpl->tpl_vars['col']->value)) && !empty($_smarty_tpl->tpl_vars['col']->value)) {?></div><?php }?>

<?php }
}
