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
+13 -1
View File
@@ -22,7 +22,19 @@
</div>
<div class="form-group">
<label>Tipo Evento</label>
<input type="text" name="tipo_evento" class="form-control" value="{{ old('tipo_evento', $evento->tipo_evento) }}" placeholder="es. Catechesi, Liturgia, Animazione">
<select name="tipo_evento" class="form-control">
<option value="">Seleziona tipo...</option>
@foreach($tipologieEventi as $tipo)
<option value="{{ $tipo->nome }}" {{ old('tipo_evento', $evento->tipo_evento) === $tipo->nome ? 'selected' : '' }}>
{{ $tipo->descrizione ?: $tipo->nome }}
</option>
@endforeach
@if($evento->tipo_evento && !\App\Models\TipologiaEvento::where('nome', $evento->tipo_evento)->exists())
<option value="{{ $evento->tipo_evento }}" selected>
{{ $evento->tipo_evento }} (disattivato)
</option>
@endif
</select>
</div>
<div class="form-group">
<label>Descrizione Completa</label>