23 lines
981 B
PHP
23 lines
981 B
PHP
<x-layout.app>
|
|
<x-slot:page_title>Seating Limits</x-slot:page_title>
|
|
<x-card.card class="mx-auto max-w-md">
|
|
<x-card.heading>Choose Ensemble</x-card.heading>
|
|
<div class="p-3">
|
|
<x-form.select
|
|
name="ensemble"
|
|
x-data="{ }"
|
|
x-on:change="window.location.href =
|
|
`{{ route('admin.ensembles.seatingLimits') }}/${event.target.value}`">
|
|
<option value=""></option>
|
|
@foreach($ensembles as $optionEnsemble)
|
|
<option value ="{{$optionEnsemble->id}}">{{$optionEnsemble->event->name}} - {{$optionEnsemble->name}}</option>
|
|
@endforeach
|
|
</x-form.select>
|
|
</div>
|
|
</x-card.card>
|
|
{{-- NEXT STEP - deising a component that will be a form to set audition limits for $ensemble, if it is set.--}}
|
|
@if($ensemble->exists)
|
|
@include('admin.ensembles.seatingLimits-limitForm')
|
|
@endif
|
|
</x-layout.app>
|