modifiche siderbar e correzioni

This commit is contained in:
2026-05-26 12:28:39 +02:00
parent f088dba4bf
commit 85dd9c2ee6
119 changed files with 14461 additions and 42 deletions
@@ -21,7 +21,20 @@
</div>
<div class="form-group">
<label>Tipo Evento</label>
<input type="text" name="tipo_evento" class="form-control" value="<?php echo e(old('tipo_evento', $evento->tipo_evento)); ?>" placeholder="es. Catechesi, Liturgia, Animazione">
<select name="tipo_evento" class="form-control">
<option value="">Seleziona tipo...</option>
<?php $__currentLoopData = $tipologieEventi; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $tipo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($tipo->nome); ?>" <?php echo e(old('tipo_evento', $evento->tipo_evento) === $tipo->nome ? 'selected' : ''); ?>>
<?php echo e($tipo->descrizione ?: $tipo->nome); ?>
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if($evento->tipo_evento && !\App\Models\TipologiaEvento::where('nome', $evento->tipo_evento)->exists()): ?>
<option value="<?php echo e($evento->tipo_evento); ?>" selected>
<?php echo e($evento->tipo_evento); ?> (disattivato)
</option>
<?php endif; ?>
</select>
</div>
<div class="form-group">
<label>Descrizione Completa</label>