<?php
/**
 * @var \App\View\AppView $this
 * @var \App\Model\Entity\User $user
 * @var \Cake\Collection\CollectionInterface|string[] $users
 */
?>
<?= $this->element('admin/components/header_modal_form', ['title' => __('Editar usuario')]) ?>
<?= $this->Form->create($user,['id'=>'formEdit', 'class'=>'flex flex-col gap-4 mt-6']) ?>
<?= $this->element('admin/components/user/form') ?>
<?= $this->element('admin/components/footer_modal_edit_form', ['entity' => $user]) ?>
<?= $this->Form->end() ?>
