<form class="row g-3 auto-width tax_register_categories" action="{{ route('tax-register-categories.store')}}" method="post" enctype='multipart/form-data'>
    @csrf
    <div class="col-md-12">
        <label for="name" class="form-label">Tax Register Category <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" id="name" name="name" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
        @if ($errors->has('name'))
            <span class="text-danger">{{ $errors->first('name') }}</span>
        @endif
    </div>
    <div class="col-md-12">
        <label for="code" class="form-label">Code </label>
        <input type="text" class="form-control" id="code" name="code" aria-describedby="inputGroupPrepend" required>
        <span class="text-danger error_code" style="display: none;">This field is required.</span>
        @if ($errors->has('code'))
            <span class="text-danger">{{ $errors->first('code') }}</span>
        @endif
    </div>
</form>
