<form class="g-3 auto-width row document-types" action="{{ route('document-types.store')}}" method="post" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  <div class="col-md-12">
    <label for="validationCustom01" class="form-label">Country Name <span class="text-danger"><b>*</b></span></label>
    <select class="single-select form-control" name="country_id">
      @foreach($countries as $list)
      <option value="{{ $list->id }}">{{ $list->name }}</option>
      @endforeach
    </select>
    <span class="text-danger error_country_id" style="display:none;">This field is required.</span>
  </div>
  <div class="col-md-12">
    <label for="validationTextarea" class="form-label">Document Type Name <span class="text-danger"><b>*</b></span></label>
    <input type="text" class="form-control" placeholder="Ex.GST License" name="license_type_name"  value="{{old('license_type_name')}}"/>
    <span class="text-danger error_license_type_name" style="display:none;">This field is required.</span>
  </div>
  <div class="col-md-12">
    <label for="validationTextarea" class="form-label">Document Code <span class="text-danger"><b>*</b></span></label>
    <input type="text" class="form-control" placeholder="Ex.CODE123" name="license_code" value="{{old('license_code')}}" />
    <span class="text-danger error_license_code" style="display:none;">This field is required.</span>
  </div>
</form>