
<?php $__env->startSection('content'); ?>
    <!-- begin::main content -->

    <main class="main-content">

        <div class="container">

            <!-- begin::page header -->
            <div class="page-header">
                <h3>Add Company</h3>
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="<?php echo e(asset('dashboard')); ?>">Dashboard</a></li>
                        <li class="breadcrumb-item" aria-current="page"><a href="<?php echo e(asset('company-list')); ?>">Users</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Add</li>
                    </ol>
                </nav>
            </div>
            <!-- end::page header -->

            <div class="row">
                <div class="col-md-6">

                    <?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>
                    <div class="card">
                        <div class="card-header">
                            <a href="<?php echo e(asset('company-list')); ?>" class="btn text-white btn-primary pull-right"><i
                                    class="fa fa-list fa-lg pr-2 text-white"></i>Company</a>
                        </div>
                        <div class="card-body">
                            <form action="<?php echo e(asset('register-company')); ?>" method="post">
                                <?php echo csrf_field(); ?>
                                <div class="form-group">
                                    <label for="company_name">Organization/Company <span class="text-danger">*</span></label>
                                    <input type="text" class="form-control" name="company_name" id="company_name" placeholder="Enter Company Name" required>

                                    <?php if($errors->has('company_name')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('company_name')); ?>

                                        </div>
                                    <?php endif; ?>

                                </div>

                                <div class="form-group">
                                    <label for="email">Email <span class="text-danger">*</span></label>
                                    <input type="email" class="form-control" name="email" placeholder="Enter the email">

                                    <?php if($errors->has('email')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('email')); ?>

                                        </div>
                                    <?php endif; ?>

                                </div>

                                <div class="form-group">
                                    <label for="phone">Mobile/Phone </label>
                                    <input type="number" class="form-control" name="phone" id="phone" placeholder="Enter Phone">

                                    <?php if($errors->has('mobile')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('mobile')); ?>

                                        </div>
                                    <?php endif; ?>

                                </div>
                                <div class="form-group">
                                    <label for="type_of_company">Type </label>
                                    <input type="text" class="form-control" name="type_of_company" id="phone" placeholder="Enter Company Type">

                                    <?php if($errors->has('mobile')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('mobile')); ?>

                                        </div>
                                    <?php endif; ?>

                                </div>


                                <div class="form-group">
                                    <label for="company_tag">Tag (Optional)</label>
                                    <input type="text" class="form-control" name="company_tag" id="company_tag" placeholder="Enter Tag Here">

                                   
                                </div>
                                <div class="form-group">
                                    <label for="website">Website (Optional)</label>
                                    <input type="text" class="form-control" name="website" id="tag" placeholder="Enter website url">

                                    
                                </div>

                                <div class="form-group">
                                    <label for="address">Address <span class="text-danger">*</span></label>
                                    <textarea class="form-control" name="address" id="address">
                                    </textarea>

                                    <?php if($errors->has('address')): ?>
                                        <div class="error">
                                            <?php echo e($errors->first('address')); ?>

                                        </div>
                                    <?php endif; ?>

                                </div>
                                
                                


                                <button type="submit" class="btn btn-primary">Submit</button>
                            </form>
                        </div>
                    </div>



                </div>

            </div>

        </div>

    </main>
    <!-- end::main content -->
<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
    <!-- begin::select2 -->
    <link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/select2/css/select2.min.css')); ?>" type="text/css">
    <script src="<?php echo e(asset('public/admin/vendors/select2/js/select2.min.js')); ?>"></script>
    <!-- end::select2 -->
    <script>
       
        $(document).ready(function() {
            $('#js-example-basic-roles').select2({});

        });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/admin.visitorkrypt.com/resources/views/company/add-company.blade.php ENDPATH**/ ?>