<form class="row g-3 auto-width" action="{{ route('enquiry-sources.update', $source->id)}}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('patch')
    <div class="col-md-12">
        <label for="enquiry_source_name" class="form-label">Source Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="enquiry_source_name" name="enquiry_source_name" aria-describedby="inputGroupPrepend" required value="{{$source->enquiry_source_name}}">
        <span class="text-danger error_enquiry_source_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="enquiry_source_code" class="form-label">Source Code <span class="text-danger"><b>*</b></span></label>
        <input readonly type="text" class="form-control" id="enquiry_source_code" name="enquiry_source_code" aria-describedby="inputGroupPrepend" required value="{{$source->enquiry_source_code}}">
        <span class="text-danger error_enquiry_source_code" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="enquiry_source_priority" class="form-label">Source Priority <span class="text-danger"><b>*</b></span></label>
        <input type="number" class="form-control" id="enquiry_source_priority" name="enquiry_source_priority" aria-describedby="inputGroupPrepend" required value="{{$source->enquiry_source_priority}}">
        <span class="text-danger error_enquiry_source_priority" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="enquiry_source_description" class="form-label">Source Description</label>
        <textarea class="form-control" id="enquiry_source_description" name="enquiry_source_description">{{$source->enquiry_source_description}}</textarea>
    </div>
</form>
