<x-wireui:modal-card title="{{ $textId ? __('broadcast-templates.EditArtist') : __('broadcast-templates.CreateNew') }}" blur wire:model.defer="showModal">
    <div class="space-y-4">
        <x-wireui:input label="{{__('broadcast-templates.content')}}" wire:model.defer="fields.content" />
        <x-wireui:select
            label="{{__('broadcast-templates.color')}}"
            wire:model.defer="fields.color"
            placeholder="{{__('broadcast-templates.select_color')}}"
            :options="$colorOptions"
            option-label="name"
            option-value="value"
        />
        
        <x-wireui:toggle label="{{__('broadcast-templates.is_active')}}" wire:model.defer="fields.is_active" />
    </div>

    <x-slot name="footer">
        <div class="flex justify-between w-full">
            <x-wireui:button flat label="{{__('broadcast-templates.cancel')}}" wire:click="closeModal" />
            <x-wireui:button primary label="{{__('broadcast-templates.submit')}}" wire:click="save" />
        </div>
    </x-slot>
</x-wireui:modal-card>
    