Don't show delete audition button for an audition with entries.
This commit is contained in:
parent
8176b60f9d
commit
cd3cd85ec4
|
|
@ -20,7 +20,9 @@
|
|||
</x-form.body-grid>
|
||||
<x-form.footer submit-button-text="Update Audition" class="pb-4 !justify-between">
|
||||
<div>
|
||||
@if($audition->entries->count() == 0)
|
||||
<x-form.red-trash-button size="20"></x-form.red-trash-button>
|
||||
@endif
|
||||
</div>
|
||||
<div>
|
||||
<x-form.button>Edit Audition</x-form.button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue