<form class="row g-3 auto-width" method="post" action="{{ route('machine-and-equipments.store') }}" id="machine_form">
    @csrf
    @method('post')
    <div class="col-md-6">
        <label for="name" class="form-label">Name<span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control name" name="device_model_name" aria-describedby="inputGroupPrepend" placeholder="device model name">
        <span class="text-danger error_device_model_name" style="display:none;">This field is required.</span>
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Manufacturer Name</label>
        <input type="text" class="form-control name" name="manufacturer_name" aria-describedby="inputGroupPrepend" placeholder="manufacturer name">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Code</label>
        <input type="text" class="form-control name" name="code" aria-describedby="inputGroupPrepend" placeholder="code">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Mac Address</label>
        <input type="text" class="form-control name" name="mac_address" aria-describedby="inputGroupPrepend" placeholder="mac address">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Ipv4 Address</label>
        <input type="text" class="form-control name" name="ipv4_address" aria-describedby="inputGroupPrepend" placeholder="ipv4 address">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Ipv6 Address</label>
        <input type="text" class="form-control name" name="ipv6_address" aria-describedby="inputGroupPrepend" placeholder="ipv6 address">
    </div>
        <div class="col-md-6">
        <label for="name" class="form-label">Part Number</label>
        <input type="number" class="form-control part_no" name="part_no" aria-describedby="inputGroupPrepend" placeholder="part number">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Installation Date</label>
        <input type="text" class="form-control installation_date" name="installation_date" aria-describedby="inputGroupPrepend" placeholder="installation date" id="installation_date" autocomplete="off" readonly style="cursor: pointer">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Location</label>
        <input type="text" class="form-control name" name="location" aria-describedby="inputGroupPrepend" placeholder="location">
    </div>
    <div class="col-md-6">
        <label for="name" class="form-label">Port Number</label>
        <input type="number" class="form-control name" name="port_number" aria-describedby="inputGroupPrepend" placeholder="port number">
    </div>
</form>
