<form class="row g-3 auto-width primary_unit" method="post" action="{{ route('anesthesia-types.store')}}">
    @csrf
    @method('post')
    <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" id="name" name="name" aria-describedby="inputGroupPrepend" placeholder="Name">
        <span class="text-danger error_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="code" class="form-label">Code</label>
        <input type="text" class="form-control" name="code" aria-describedby="inputGroupPrepend" placeholder="Code">
    </div>
    <div class="col-md-6">
        <label for="priority" class="form-label">Priority<span class="text-danger"><b>*</b></span></label>
        <input type="number" value="{{ $priority+1 }}" class="form-control" name="priority" aria-describedby="inputGroupPrepend">
        <span class="text-danger error_priority" style="display:none;">This field is required.</span>
    </div>
</form>