<div class="grid grid-cols-12 gap-4">
    <div class="col-span-12">
        <label for="nombre" class="form-label"><?php echo __('Nombre') ?></label>
        <?php echo $this->Form->control('nombre', ['id'=>'nombre','class'=>'form-input','label'=>false]); ?>
    </div>
    <div class="col-span-12">
        <label for="descripcion" class="form-label"><?php echo __('Descripción') ?></label>
        <?php echo $this->Form->textarea('descripcion', ['id'=>'descripcion','class'=>'form-input h-[150px]','label'=>false]); ?>
    </div>
    <div class="flex flex-col col-span-12">
        <label for="empresa_id" class="form-label"><?php echo __('Empresa') ?></label>
        <?php echo $this->Form->control('empresa_id', ['options' => $companies,'id'=>'empresa_id','class'=>'form-input form-select w-full h-11','label'=>false,'empty'=>__('Seleccione una opción')]); ?>
    </div>
    <div class="flex flex-col col-span-12">
        <?= $this->element('admin/components/tags',['id' => 'palabras_claves', 'project' => $project]) ?>
    </div>
    <div class="flex items-center gap-2 select-none  col-span-12">
        <?php echo $this->Form->control('activo',['id'=>'activo','class'=>'check check-primary-solid size-4 before:text-sm before:leading-none','checked' => $project->activo ? true : false, 'label'=>false, 'div' => false]); ?>
        <label for="activo" class="leading-none font-medium text-gray-500 dark:text-dark-text text-sm"><?php echo __('Activar búsqueda') ?></label>
    </div>
</div>
