<form class="row g-3 auto-width industry_types" action="{{ route('industry-type.update', $IndustryType->id) }}" method="post" enctype='multipart/form-data'>
    @csrf
    @method('patch')
    <div class="col-md-12">
        <label for="name" class="form-label">Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="name" name="name" placeholder="Enter" aria-describedby="inputGroupPrepend" value="{{$IndustryType->name}}" required>
        <span class="text-danger error_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="code" class="form-label">Code <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="code" name="code" placeholder="Enter Code" aria-describedby="inputGroupPrepend" value="{{$IndustryType->code}}" required>
        <span class="text-danger error_name" style="display:none;">This field is required.</span>
    </div>
</form>
