<?php $__env->startSection('content'); ?>
    <div class="container-fluid">
        <!-- start page title -->
        <div class="d-flex justify-content-between mt-2 mb-2">
            <h2>
                Add Localguide
            </h2>
            <ol class="breadcrumb m-0">
                
                
            </ol>
        </div>
        <!-- end page title -->

        <?php if($errors->any()): ?>
            <div class="alert alert-danger">
                <strong>Whoops!</strong> There were some problems with your input.<br><br>
                <ul>
                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <li><?php echo e($error); ?></li>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            </div>
        <?php endif; ?>

        <div class="card">
            <div class="card-body">
                <!-- command bar -->
                <div class="d-flex justify-content-between">
                    <div>
                        <a href="javascript:history.back()" class="btn btn-secondary mb-2">
                            กลับ
                        </a>
                    </div>
                </div>
                <!-- end command bar -->
                <form action="<?php echo e(route('localguides.store')); ?>" method="POST" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>

                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>uid</strong>
                                <input type="text" name="uid" class="form-control" placeholder="Enter UID">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>display_name</strong>
                                <input type="text" name="display_name" class="form-control" placeholder="Enter Display Name">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>name</strong>
                                <input type="text" name="name" class="form-control" placeholder="Enter Name">
                            </div>
                        </div>
                         <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>description</strong>
                                <input type="text" name="description" class="form-control" placeholder="Enter Description">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            gender <br>
                            <input type="radio" id="gender" name="gender" value="male"
                               > Male</label>

                            <input type="radio" id="gender" name="gender" value="female"
                                {> Female</label>

                                <input type="radio" id="gender" name="gender" value="not specify"
                                checked> Not Specify</label>

                        </div>


                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>address</strong>
                                <input type="text" name="address" class="form-control" placeholder="Enter Address">
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>province</strong>
                                <select class="form-select" name="province_id">
                                    <option>เลือกจังหวัด</option>
                                    <?php $__currentLoopData = $provinces; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $province): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($province->id); ?>">
                                            <?php echo e($province->name_th); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>email</strong>
                                <input type="text" name="email" class="form-control" placeholder="Enter Email">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>phone</strong>
                                <input type="text" name="text" class="form-control" placeholder="Enter Phone">
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>chat_url</strong>
                                <input type="text" name="text" class="form-control" placeholder="Enter Chat Url">
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-12 col-md-12  mb-2">
                            <div class="form-group">
                                <strong>Image:</strong>
                                <input type="file" name="image" class="form-control" placeholder="User Image">
                            </div>
                        </div>
                         <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>image_url</strong>
                                <input type="text" name="image_url" class="form-control" placeholder="Enter Image Url">
                            </div>
                        </div>

                         <div class="col-xs-12 col-sm-12 col-md-12  mb-2">
                            <div class="form-group">
                                <strong>Background Image:</strong>
                                <input type="file" name="background_image" class="form-control" placeholder="Background Image">
                            </div>
                        </div>



                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>background_image_url</strong>
                                <input type="text" name="background_image_url" class="form-control" placeholder="Enter Background Image Url">
                            </div>
                        </div>

                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            has_covid19_vaccine <br>
                            <input type="radio" id="has_covid19_vaccine" name="has_covid19_vaccine" value="0" checked> false</label>
                            <input type="radio" id="has_covid19_vaccine" name="has_covid19_vaccine" value="1"> true</label>
                        </div>

                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            has_driver_licence <br>
                            <input type="radio" id="has_driver_licence" name="has_driver_licence" value="0" checked> false</label>
                            <input type="radio" id="has_driver_licence" name="has_driver_licence" value="1"> true</label>
                        </div>



                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>services</strong>
                                <input type="text" name="services" class="form-control"
                                    placeholder="Enter Services">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>available_province_ids</strong>
                                <input type="text" name="available_province_ids" class="form-control" placeholder="Enter Available Provinces">
                            </div>
                        </div>
                                              <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>price_per_day</strong>
                                <input type="numeric" name="price_per_day" class="form-control" placeholder="Enter Price Per Day">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>price_per_hour</strong>
                                <input type="numeric" name="price_per_hour" class="form-control" placeholder="Enter Price Per Hour">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 mb-2">
                            <div class="form-group">
                                <strong>remark</strong>
                                <input type="text" name="remark" class="form-control" placeholder="Enter Remark">
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-12 text-center">
                            <button type="submit" class="btn btn-primary">Submit</button>
                        </div>
                    </div>

                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.base', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/lebest5/public_html/resources/views/pages/localguides/create.blade.php ENDPATH**/ ?>