<form action="<?php echo e(route('factory.reciever.post.add.user')); ?>" method="post" class="mb-5">
    <?php echo e(csrf_field()); ?>

    <div class="row mt-3">
        <div class="col-12 col-lg-6">
            <div class="form-group">
                <label for="first_name" class="mb-2">نام</label>
                <input type="text" class=" form-control" name="first_name" id="first_name" placeholder="نام" value=" <?php echo e(old('first_name')); ?>">
            </div>
        </div>
        <div class="col-12 col-lg-6 mt-3 mt-lg-0">
            <div class="form-group">
                <label for="last_name" class="mb-2">نام خانوادگی</label>
                <input type="text" class=" form-control" name="last_name" id="last_name" placeholder="نام خانوادگی" value=" <?php echo e(old('last_name')); ?>">
            </div>
        </div>
    </div>
    <div class="row mt-3">
        <div class="col-12 col-lg-6">
            <div class="form-group">
                <label for="melli_code" class="mb-2">کد ملی</label>
                <input type="text" class=" form-control" name="melli_code" id="melli_code" placeholder="کد ملی" value=" <?php echo e(old('melli_code')); ?>">
            </div>
        </div>
        <div class="col-12 col-lg-6 mt-3 mt-lg-0">
            <div class="form-group">
                <label for="phone" class="mb-2">شماره موبایل</label>
                <input type="text" class=" form-control" name="phone" id="phone" placeholder="شماره موبایل" value=" <?php echo e(old('phone')); ?>">
            </div>
        </div>
    </div>
    <div class="row mt-3">
        <div class="col-12 col-lg-6">
            <div class="form-group">
                <label for="role" class="mb-2" >نقش کاربر</label>
                <select class=" form-control" name="role" id="role" value=" <?php echo e(old('role')); ?>">
                    <option value="chief_worker">سرتیم</option>
                    <option value="worker">کارگر</option>
                </select>
            </div>
        </div>
        <div class="col-12 col-lg-6 mt-3 mt-lg-0 d-flex align-items-end">
            <div class="form-group w-100">
                <button type="submit" class=" btn btn-success w-100">افزودن کاربر</button>
            </div>
        </div>
    </div>
</form><?php /**PATH /home1/zarborji/public_html/resources/views/factoryReceiver/user/add.blade.php ENDPATH**/ ?>