<form class="g-3 auto-width row" action="{{ route('document-types.update',$license->id)}}" method="post" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  @method('PUT')
  <div class="col-md-12">
    <label for="validationCustom01" class="form-label">Company Name <span class="text-danger"><b>*</b></span></label>
    <select class="form-control" name="country_id" class="form-control">
      @foreach($countries as $list)
        <option value="{{ $list->id }}" {{ $license->country_id == $list->id ? 'selected' : '' }}>{{ $list->name }}</option>
      @endforeach
    </select>
  </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="@if($license->license_type_name){{$license->license_type_name}}@endif"/>
  </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="@if($license->license_code){{$license->license_code}}@endif" />
  </div>
</form>