<form action="{{route('admin.live.tv.category.store')}}" method="post" enctype="multipart/form-data" class="form-validate form">
    @csrf
    <div class="mb-2">
        <label for="name" class="form-label"> {{ __('category_name') }} <span
                class="text-danger">*</span> </label>
        <input type="text" class="form-control rounded-2" id="name" name="name" value="{{ old('name') }}" placeholder="{{ __('category_name') }}">
        <div class="nk-block-des text-danger">
            <p class="error">{{ $errors->first('name') }}</p>
        </div>
    </div>
    <div class="mb-2">
        <label for="name" class="form-label"> {{ __('category_description') }} </label>
        <textarea name="description" class="form-control rounded-2" id="description" cols="30" rows="4" placeholder="{{ __('category_description') }}">{{ old('description') }}</textarea>
        <div class="nk-block-des text-danger">
            <p class="error">{{ $errors->first('description') }}</p>
        </div>
    </div>
    <div class="d-flex gap-12 align-items-center justify-content-between sandbox_mode_div mb-4">
        <input type="hidden" name="status" value="1">
        <label class="form-label" for="status"> {{__('category_status')}} </label>
        <div class="setting-check">
            <input type="checkbox" value="1" id="status" checked class="sandbox_mode">
            <label for="status"></label>
        </div>
    </div>
    
    <button type="submit" class="btn sg-btn-primary">{{ __('submit') }}</button>
    @include('layouts.loading_button',['class' => 'btn sg-btn-primary'])
</form>
