= $this->Form->control('username', ['label' => __('Nome utente')]); ?>
= $this->Form->control('name', ['label' => __('Nome')]); ?>
= $this->Form->control('surname', ['label' => __('Cognome')]); ?>
= $this->Form->control('tax_code', ['label' => __('Codice Fiscale')]); ?>
= $this->Form->control('password', ['label' => __('Password')]); ?>
= $this->Form->control('birthday', ['type' => 'date', 'label' => __('Data di nascita'), 'max' => $today->format('Y-m-d')]); ?>
= $this->Form->control('birthplace', ['label' => __('Luogo di nascita')]); ?>
= $this->Form->control('gender', ['label' => __('Sesso'), 'type' => 'select', 'options' => ['M' => 'M', 'F' => 'F'], 'empty' => false, 'style="width: 100%']); ?>
= $this->Form->control('address', ['label' => __('Indirizzo')]); ?>
= $this->Form->control('city', ['label' => __('Città ')]); ?>
= $this->Form->control('cap', ['label' => __('CAP')]); ?>
= $this->Form->control('language_id', ['label' => __('Lingua preferita'), 'style="width: 100%']); ?>
= $this->Form->control('organisation_id', ['label' => __('Organizzazione'), 'empty' => true, 'style="width: 100%']); ?>
= $this->Form->control('user_photo', ['label' => __('Foto del profilo (solo jpeg di dimensioni 160x160!)'), 'type' => 'file', 'accept' => '.jpeg']); ?>
= $this->Form->control('groups._ids', ['label' => __('Profili'), 'options' => $groups, 'multiple' => true, 'disabled' => !$can_handle_profiles, 'style="width: 100%']); ?>