|
|
@@ -70,8 +70,13 @@
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<textarea class="form-control" rows="5" wire:model="richiestaText"></textarea>
|
|
|
+ @if (!$this->validated)
|
|
|
<button type="button" class="btn btn-primary mt-2"
|
|
|
wire:click.prevent="saveRichiesta()">Aggiungi</button>
|
|
|
+ @else
|
|
|
+ <button type="button" class="btn btn-primary mt-2"
|
|
|
+ wire:click.prevent="saveRichiesta()">Aggiungi e Salva</button>
|
|
|
+ @endif
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|