
<?php $__env->startSection('content'); ?>
<!-- BEGIN: Content-->
<div class="app-content content ">
    <div class="content-overlay"></div>
    <div class="header-navbar-shadow"></div>
    <div class="content-wrapper container-xxl p-0">
        <div class="content-body">
            <div class="content-header row">
                <div class="content-header-left col-md-9 col-12 mb-2">
                    <div class="row breadcrumbs-top">
                        <div class="col-12">
                            <h2 class="content-header-title float-start mb-0"><?php echo e(__('lang.admin_about_us')); ?></h2>
                            <div class="breadcrumb-wrapper">
                                <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a href="<?php echo route('dashboard'); ?>"><?php echo e(__('lang.admin_menu_dashboard')); ?></a>
                                    </li>
                                    <li class="breadcrumb-item active"><?php echo e(__('lang.admin_about_us_list')); ?>

                                    </li>
                                </ol>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="content-header-right text-md-end col-md-3 col-12 d-md-block">
                    <div class="mb-1 breadcrumb-right">
                        <button class="btn btn-icon btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#modals-slide-in">
                            <i data-feather="plus" class="me-25"></i>
                            <span><?php echo e(__('lang.admin_add_new_record')); ?></span>
                        </button>
                    </div>
                </div>
            </div>
            <?php echo $__env->make('about_us.table', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>
</div>
<!-- Modal to add new record -->
<div class="modal modal-slide-in fade" id="modals-slide-in">
    <div class="modal-dialog sidebar-sm">
        <form class="add-new-record modal-content pt-0" action="<?php echo route('about_us.store'); ?>" enctype="multipart/form-data" method="post">
            <?php echo csrf_field(); ?>
            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">×</button>
            <div class="modal-header mb-1">
                <h5 class="modal-title" id="exampleModalLabel"><?php echo e(__('lang.admin_new_record')); ?></h5>
            </div>
            <div class="modal-body flex-grow-1">
                <div class="mb-1">
                    <label class="form-label" for="type"><?php echo e(__('lang.admin_type')); ?></label>
                    <select id="type" class="form-select" name="type">
                        <option value="awards"><?php echo e(__('lang.admin_about_us_award')); ?></option>
                        <option value="partner"><?php echo e(__('lang.admin_about_us_partner')); ?></option>
                    </select>
                </div>
                <div class="mb-1">
                    <label class="form-label" for="basic-icon-default-fullname"><?php echo e(__('lang.admin_name')); ?></label>
                    <input type="text" class="form-control dt-full-name" id="basic-icon-default-fullname" placeholder="<?php echo e(__('lang.admin_name')); ?>" aria-label="<?php echo e(__('lang.admin_name')); ?>" name="name" />
                </div>
                <div class="mb-1">
                    <img src="<?php echo e(asset('app-assets/images/no-image.png')); ?>" alt="users avatar" class="user-avatar users-avatar-shadow rounded me-2 my-25 cursor-pointer" height="90" width="90" />
                    <div class="col-12 d-flex mt-1 px-0">
                        <label class="btn btn-primary me-75 mb-0" for="change-picture">
                            <span class="d-none d-sm-block"><?php echo e(__('lang.admin_button_upload')); ?></span>
                            <input class="form-control" type="file" id="change-picture" hidden accept="image/png, image/jpeg, image/jpg" name="image"/>
                            <span class="d-block d-sm-none">
                                <i class="me-0" data-feather="edit"></i>
                            </span>
                        </label>
                    </div>
                </div>
                <button type="submit" class="btn btn-primary data-submit me-1"><?php echo e(__('lang.admin_button_submit')); ?></button>
                <button type="reset" class="btn btn-outline-secondary" data-bs-dismiss="modal"><?php echo e(__('lang.admin_button_cancel')); ?></button>
            </div>
        </form>
    </div>
</div>
<!-- END: Content-->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/hayawater/resources/views/about_us/index.blade.php ENDPATH**/ ?>