<?php $__env->startSection('content'); ?>
  <div class="page-header">
    <h4 class="page-title"><?php echo e(__('Contact Page')); ?></h4>
    <ul class="breadcrumbs">
      <li class="nav-home">
        <a href="<?php echo e(route('admin.dashboard')); ?>">
          <i class="flaticon-home"></i>
        </a>
      </li>
      <li class="separator">
        <i class="flaticon-right-arrow"></i>
      </li>
      <li class="nav-item">
        <a href="#"><?php echo e(__('Footer')); ?></a>
      </li>
      <li class="separator">
        <i class="flaticon-right-arrow"></i>
      </li>
      <li class="nav-item">
        <a href="#"><?php echo e(__('Contact Page')); ?></a>
      </li>
    </ul>
  </div>

  <div class="row">
    <div class="col-md-12">
      <div class="card">
        <div class="card-header">
          <div class="row">
            <div class="col-lg-9">
              <div class="card-title d-inline-block">
                <?php echo e(__('Contact Page')); ?>

              </div>
            </div>

            <div class="col-lg-3">
              <?php if ($__env->exists('backend.partials.languages')) echo $__env->make('backend.partials.languages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
          </div>
        </div>

        <div class="card-body">
          <div class="row">
            <div class="col-lg-12">

              <?php if(session()->has('course_status_warning')): ?>
                <div class="alert alert-warning">
                  <p class="text-dark mb-0"><?php echo e(session()->get('course_status_warning')); ?></p>
                </div>
              <?php endif; ?>
              <div class="row">
                <div class="col-md-8 mx-auto">
                  <form id="ajaxForm" class="create"
                    action="<?php echo e(route('admin.update.contact_page', request()->input('language'))); ?>" method="POST"
                    enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Form Title') . '*'); ?></label>
                          <input type="text" class="form-control" value="<?php echo e(@$abs->contact_form_title); ?>"
                            name="contact_form_title" placeholder="<?php echo e(__('Enter Title')); ?>">
                          <p id="err_contact_form_title" class="mt-2 mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>

                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Form Subtitle') . '*'); ?></label>
                          <input type="text" class="form-control" name="contact_form_subtitle"
                            value="<?php echo e(@$abs->contact_form_title); ?>" placeholder="<?php echo e(__('Enter Form Subtitle')); ?>">
                          <p id="err_contact_form_subtitle" class="mt-2 mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>

                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Address') . ' *'); ?> </label>
                          <textarea class="form-control" name="contact_addresses" rows="3"><?php echo e(@$abs->contact_addresses); ?></textarea>
                          <p class="mb-0 text-warning">
                            <?php echo e(__('Use newline to seperate multiple addresses')); ?></p>
                          <p id="err_contact_addresses" class="mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Phone') . ' *'); ?> </label>
                          <input class="form-control" name="contact_numbers" data-role="tagsinput"
                            value="<?php echo e(@$abs->contact_numbers); ?>" placeholder="<?php echo e(__('Enter Phone Number')); ?>">
                          <p class="mb-0 text-warning">
                            <?php echo e(__('Use comma (,) to seperate multiple contact numbers')); ?>

                          </p>
                          <p id="err_contact_numbers" class="mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Email') . ' *'); ?> </label>
                          <input class="form-control ltr" name="contact_mails" data-role="tagsinput"
                            value="<?php echo e(@$abs->contact_mails); ?>" placeholder="<?php echo e(__('Enter Email Address')); ?>">
                          <p class="mb-0 text-warning">
                            <?php echo e(__('Use comma (,) to seperate multiple contact mails')); ?>

                          </p>
                          <p id="err_contact_mails" class="mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>

                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Latitude') . '*'); ?></label>
                          <input type="text" class="form-control" name="latitude" value="<?php echo e(@$abs->latitude); ?>"
                            placeholder="<?php echo e(__('Enter Latitude')); ?>">
                          <p id="err_latitude" class="mt-2 mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>

                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Longitude') . '*'); ?></label>
                          <input type="text" class="form-control" name="longitude" value="<?php echo e(@$abs->longitude); ?>"
                            placeholder="<?php echo e(__('Enter Longitude')); ?>">
                          <p id="err_longitude" class="mt-2 mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>
                    <div class="row">
                      <div class="col">
                        <div class="form-group">
                          <label><?php echo e(__('Map Zoom') . '*'); ?></label>
                          <input type="text" class="form-control" name="map_zoom" value="<?php echo e(@$abs->map_zoom); ?>"
                            placeholder="<?php echo e(__('Enter Map Zoom')); ?>">
                          <p id="err_map_zoom" class="mt-2 mb-0 text-danger em"></p>
                        </div>
                      </div>
                    </div>
                  </form>
                </div>
              </div>

            </div>
          </div>
        </div>

        <div class="card-footer">
          <div class="row">
            <div class="col-12 text-center">
              <button type="submit" class="btn btn-success" id="submitBtn">
                <?php echo e(__('Update')); ?>

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

<?php echo $__env->make('backend.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/ysakkarj/events.theend.africa/resources/views/backend/contact.blade.php ENDPATH**/ ?>