<form class="row g-3 auto-width" method="post" action="{{ route('test-methods.update', $data->id )}}" id="primary_unit_form_data">
    @csrf
    @method('put')

    <div class="col-12">
        <label for="description" class="form-label">Name<span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control name" value="{{ $data->name }}" id="name" name="name" aria-describedby="inputGroupPrepend" placeholder="Name">
        <span class="text-danger error_test_method_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-12">
        <label for="code" class="form-label">code<span class="text-danger"><b>*</b></span></label>
        <input readonly type="text" class="form-control code" id="code" name="code" aria-describedby="inputGroupPrepend" placeholder="code" value="{{ $data->code }}">
        <span class="text-danger error_code" style="display:none;">This field is required.</span>
    </div>

    <div class="col-12">
        <label for="details" class="form-label">Detail
        </label>
        <textarea name="details" id="details" class="form-control details" cols="30" rows="2">{{ $data->details }}</textarea>
    </div>
</form>
