<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\HorariosPersonal $horariosPersona
 * @var string[]|\Cake\Collection\CollectionInterface $personas
 */
?>
<div class="row">
    <aside class="column">
        <div class="side-nav">
            <h4 class="heading"><?= __('Actions') ?></h4>
            <?= $this->Form->postLink(
                __('Delete'),
                ['action' => 'delete', $horariosPersona->id],
                ['confirm' => __('Are you sure you want to delete # {0}?', $horariosPersona->id), 'class' => 'side-nav-item']
            ) ?>
            <?= $this->Html->link(__('List Horarios Personal'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
        </div>
    </aside>
    <div class="column column-80">
        <div class="horariosPersonal form content">
            <?= $this->Form->create($horariosPersona) ?>
            <fieldset>
                <legend><?= __('Edit Horarios Personal') ?></legend>
                <?php
                    echo $this->Form->control('personal_id', ['options' => $personas]);
                    echo $this->Form->control('dia_semana');
                    echo $this->Form->control('hora_inicio');
                    echo $this->Form->control('hora_fin');
                ?>
            </fieldset>
            <?= $this->Form->button(__('Submit')) ?>
            <?= $this->Form->end() ?>
        </div>
    </div>
</div>
