<script src="{{asset('assets/js/app.js')}}"></script>
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
  <form method="POST" action="{{ route('contacts.export', [$list->id]) }}" class="row g-3 mt-0 needs-validation" novalidate>
    @csrf
  <div class="modal-header">
    <h6 class="modal-title">{{ __('app.export') }} {{ __('app.contacts') }} ({{ $list->name }})</h6>
    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
  </div>
  <div class="modal-body">
    <div class="box-body mx-3">
      
      <div class="row mb-3">
          <label class="col-md-3 form-label fw-bold">{{ __('app.list') }}</label>
          <div class="col-md-9">{{ $list->name }}</div>
      </div>
      <div class="row mb-3">
          <label class="col-md-3 col-form-label fw-bold">{{__('app.active')}}</label>
          <div class="col-md-9">
            <select name="is_active" class="form-select form-select-lg">
              <option value="both">{{ __('app.both')}}</option>
              <option value="no">{{ __('app.no')}}</option>
              <option value="yes">{{ __('app.yes') }}</option>
            </select>
          </div>
      </div>
      <div class="row mb-3">
          <label class="col-md-3 col-form-label fw-bold">{{__('app.subscribed')}}</label>
          <div class="col-md-9">
            <select name="is_subscribed" class="form-select form-select-lg">
              <option value="both">{{ __('app.both')}}</option>
              <option value="no">{{ __('app.no')}}</option>
              <option value="yes">{{ __('app.yes') }}</option>
            </select>
          </div>
      </div>
      <div class="row mb-3">
          <label class="col-md-3 col-form-label fw-bold">{{__('app.verified')}}</label>
          <div class="col-md-9">
            <select name="is_verified" class="form-select form-select-lg">
              <option value="both">{{ __('app.both')}}</option>
              <option value="no">{{ __('app.no')}}</option>
              <option value="yes">{{ __('app.yes') }}</option>
            </select>
          </div>
      </div>
      <div class="row mb-3">
          <label class="col-md-3 col-form-label fw-bold">{{__('app.confirmed')}}</label>
          <div class="col-md-9">
            <select name="is_confirmed" class="form-select form-select-lg">
              <option value="both">{{ __('app.both')}}</option>
              <option value="no">{{ __('app.no')}}</option>
              <option value="yes">{{ __('app.yes') }}</option>
            </select>
          </div>
      </div>
    
    </div>
  </div>
  <div class="modal-footer">
    <input type="hidden" name="list_id" value="{{$list->id}}">
    <button type="submit" class="btn btn-primary btn-loading"><i class=""></i> {{__('app.export')}}</button>
    <button type="button" class="btn btn-danger" data-bs-dismiss="modal">{{__('app.close')}}</button>
  </div>
  </form>
</div>
</div>