<div class="d-none" id="FeaturesModal" data-action="/admin/webinar-features/store">
    <h3 class="section-title after-line font-20 text-dark-blue mb-25">إضافة ميزة للالتحاق بالدبلوم</h3>

    <form action="/admin/webinar-features/store" method="post">
        <input type="hidden" name="webinar_id" value="{{  !empty($webinar) ? $webinar->id :''  }}">

        @if(!empty(getGeneralSettings('content_translate')))
            <div class="form-group">
                <label class="input-label">{{ trans('auth.language') }}</label>
                <select name="locale" class="form-control ">
                    @foreach($userLanguages as $lang => $language)
                        <option value="{{ $lang }}" @if(mb_strtolower(request()->get('locale', app()->getLocale())) == mb_strtolower($lang)) selected @endif>{{ $language }}</option>
                    @endforeach
                </select>
                @error('locale')
                <div class="invalid-feedback">
                    {{ $message }}
                </div>
                @enderror
            </div>
        @else
            <input type="hidden" name="locale" value="{{ getDefaultLocale() }}">
        @endif
        
       <div class="form-group">
            <label class="input-label">النص</label>
            <textarea name="description" class="form-control js-ajax-description" placeholder=""></textarea>
            <div class="invalid-feedback"></div>
        </div>
        
      
        

        <div class="mt-30 d-flex align-items-center justify-content-end">
            <button type="button" id="saveFeature" class="btn btn-primary">{{ trans('public.save') }}</button>
            <button type="button" class="btn btn-danger ml-2 close-swl">{{ trans('public.close') }}</button>
        </div>
    </form>
</div>