<div class="col-md-12">
    <div class="input-group input-group-outline my-3 <?php echo e(old('name', $utente->name ?? '') ? 'is-filled' : ''); ?>">
        <label class="form-label">Nome</label>
        <input type="text" name="name" class="form-control" value="<?php echo e(old('name', $utente->name ?? '')); ?>" required>
    </div>
</div>

<div class="col-md-12">
    <div class="input-group input-group-outline my-3 <?php echo e(old('surname', $utente->surname ?? '') ? 'is-filled' : ''); ?>">
        <label class="form-label">Cognome</label>
        <input type="text" name="surname" class="form-control" value="<?php echo e(old('surname', $utente->surname ?? '')); ?>">
    </div>
</div>

<div class="col-md-12">
    <div
        class="input-group input-group-outline my-3 <?php echo e(old('codice_fiscale', $utente->codice_fiscale ?? '') ? 'is-filled' : ''); ?>">
        <label class="form-label">Codice fiscale</label>
        <input type="text" name="codice_fiscale" class="form-control"
            value="<?php echo e(old('codice_fiscale', $utente->codice_fiscale ?? '')); ?>">
    </div>
</div>

<div class="col-md-12">
    <div class="input-group input-group-outline my-3 <?php echo e(old('telefono', $utente->telefono ?? '') ? 'is-filled' : ''); ?>">
        <label class="form-label">Telefono</label>
        <input type="text" name="telefono" class="form-control"
            value="<?php echo e(old('telefono', $utente->telefono ?? '')); ?>">
    </div>
</div>

<div class="col-md-12">
    <div class="input-group input-group-outline my-3 <?php echo e(old('email', $utente->email ?? '') ? 'is-filled' : ''); ?>">
        <label class="form-label">Email</label>
        <input type="email" name="email" class="form-control" value="<?php echo e(old('email', $utente->email ?? '')); ?>"
            required>
    </div>
</div>

<div class="col-md-12">
    <div class="input-group input-group-outline my-3 <?php echo e(isset($utente) ? 'is-filled' : ''); ?>">
        <label class="form-label">Password</label>
        <input type="password" name="password" class="form-control" <?php echo e(isset($utente) ? '' : 'required'); ?>>
    </div>
</div>

<div class="col-md-12">
    <div
        class="input-group input-group-outline my-3 <?php echo e(old('azienda_id', $utente->azienda_id ?? '') ? 'is-filled' : ''); ?>">
        <select name="azienda_id" class="form-control">
            <option value="">-- Seleziona azienda --</option>
            <?php $__currentLoopData = $aziende; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $azienda): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($azienda->id); ?>"
                    <?php echo e(old('azienda_id', $utente->azienda_id ?? '') == $azienda->id ? 'selected' : ''); ?>>
                    <?php echo e($azienda->nome); ?>

                </option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
    </div>
</div>

<div class="col-12 d-flex justify-content-end mt-2">
    <button type="submit" class="btn btn-primary"><?php echo e($submitLabel ?? 'Salva'); ?></button>
</div>
<?php /**PATH /Users/giuseppepesce/Desktop/lavori_pesce/Ebinconf/resources/views/backend/users/_form.blade.php ENDPATH**/ ?>