auditionadmin/resources/views/admin/ensembles/index-rename-modal.blade.php

12 lines
661 B
PHP

<x-modal>
<x-slot:button_text>{{ $ensemble->name }}</x-slot:button_text>
<x-slot:title class="font-semibold">Rename Ensemble {{ $ensemble->name }}</x-slot:title>
<x-form.form method="PATCH" action="{{ route('admin.ensembles.updateEnsemble', ['ensemble' => $ensemble->rank]) }}">
<x-form.body-grid columns="4">
<x-form.field colspan="2" label_text="New Name" value="{{ $ensemble->name }}" name="name" />
<x-form.field colspan="1" label_text="New Code" value="{{ $ensemble->code }}" name="code" />
<x-form.button class="mt-6">Modify</x-form.button>
</x-form.body-grid>
</x-form.form>
</x-modal>