<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\CitasServicio $citasServicio
 * @var string[]|\Cake\Collection\CollectionInterface $servicios
 * @var string[]|\Cake\Collection\CollectionInterface $citas
 */
?>
<div class="row">
    <aside class="column">
        <div class="side-nav">
            <h4 class="heading"><?= __('Actions') ?></h4>
            <?= $this->Form->postLink(
                __('Delete'),
                ['action' => 'delete', $citasServicio->id],
                ['confirm' => __('Are you sure you want to delete # {0}?', $citasServicio->id), 'class' => 'side-nav-item']
            ) ?>
            <?= $this->Html->link(__('List Citas Servicios'), ['action' => 'index'], ['class' => 'side-nav-item']) ?>
        </div>
    </aside>
    <div class="column column-80">
        <div class="citasServicios form content">
            <?= $this->Form->create($citasServicio) ?>
            <fieldset>
                <legend><?= __('Edit Citas Servicio') ?></legend>
                <?php
                    echo $this->Form->control('servicio_id', ['options' => $servicios, 'empty' => true]);
                    echo $this->Form->control('cita_id', ['options' => $citas, 'empty' => true]);
                ?>
            </fieldset>
            <?= $this->Form->button(__('Submit')) ?>
            <?= $this->Form->end() ?>
        </div>
    </div>
</div>
