<?php $__env->startSection('content'); ?>
<div class="side-title">
    <h3><?php echo e($head ?? ''); ?></h3>
</div>

<div class="border-item">
    <form class="form-row" method="post" action="<?php echo e($action); ?>">
        <?php if($contact ?? ''  && $contact->id): ?>
            <?php echo method_field('PUT'); ?>
        <?php endif; ?>
        <?php echo csrf_field(); ?>

             <div class="form-group col-lg-6">
            <label><?php echo e(meta('email', getCurrentLocale()) ?? __('contacts.email')); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('email') ? 'is-invalid' : ''); ?>" name="email" placeholder="<?php echo e(meta('email', getCurrentLocale()) ??__('contacts.email')); ?>" disabled value='<?php echo e(old("email", $contact->email ?? "")); ?>'/>
        </div>
             <div class="form-group col-lg-6">
            <label><?php echo e(meta('phone', getCurrentLocale()) ?? __('contacts.phone')); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('phone') ? 'is-invalid' : ''); ?>" name="phone" placeholder="<?php echo e(meta('phone', getCurrentLocale()) ??__('contacts.phone')); ?>" disabled value='<?php echo e(old("phone", $contact->phone ?? "")); ?>'/>
        </div>
        
             <div class="form-group col-lg-6">
            <label><?php echo e(meta('subject', getCurrentLocale()) ?? __('contacts.subject')); ?> </label>
            <input type="text" class="form-control <?php echo e($errors->has('subject') ? 'is-invalid' : ''); ?>" name="subject" placeholder="<?php echo e(meta('subject', getCurrentLocale()) ??__('contacts.subject')); ?>" disabled value='<?php echo e(old("subject", $contact->subject ?? "")); ?>'/>
        </div>
        
             <div class="form-group col-lg-6">
            <label><?php echo e(meta('message', getCurrentLocale()) ?? __('contacts.message')); ?> </label>
            <textarea type="text" class="form-control <?php echo e($errors->has('message') ? 'is-invalid' : ''); ?>" name="message" placeholder="<?php echo e(meta('message', getCurrentLocale()) ??__('contacts.message')); ?>" disabled ><?php echo e(old("message", $contact->message ?? "")); ?></textarea>
        </div>
      


       
    </form>
</div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inner_js'); ?>

    <!-- Editor JS files -->

            <script src="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            url_answer = "<?php echo e(url('/')); ?>/admin/answerdata",
            url_question = "<?php echo e(url('/')); ?>/admin/questiondata",
            imagePath = "<?php echo e(asset('')); ?>";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/green_apple/resources/views/admin/contacts/form.blade.php ENDPATH**/ ?>