<div>
    <form>
        <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="name">Ad *</label>
            <div class="col-sm-10">
                <input class="form-control" id="name" type="text" wire:model.live="name" required autocomplete="off">
                <div>
                    @error('name') <span class="error">{{ $message }}</span> @enderror
                </div>
            </div>
        </div>
        <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="slug">Slug *</label>
            <div class="col-sm-10">
                <input class="form-control" id="slug" type="text" wire:model="slug" required autocomplete="off">
                <div>
                    @error('slug') <span class="error">{{ $message }}</span> @enderror
                </div>
            </div>
        </div>
        <div class="row mb-3">
            <label class="col-sm-2 col-form-label" for="description">Açıklama</label>
            <div class="col-sm-10">
                <textarea class="form-control" id="description" wire:model="description" autocomplete="off"></textarea>
                <div>
                    @error('description') <span class="error">{{ $message }}</span> @enderror
                </div>
            </div>
        </div>

        <button class="btn btn-primary" type="submit" wire:click.prevent="save" wire:loading.attr="disabled" wire:target="save">Güncelle</button>

    </form>
</div>