


<?php $__env->startSection('content'); ?>
<h2 class="mb-3"><?php echo e(awtTrans('New Manufacturing Company')); ?></h2>

<?php echo Form::open(['method' => 'POST', 'route' => 'admin.manufacturing-companies.store', 'files' => true]); ?>

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

        <!-- <div class="row">
            <div class="form-group col-md-6">
                <?php echo Form::label('name_ar', awtTrans('Title Arabic')); ?>

                <?php echo Form::text('name_ar', null, ['class' => $errors->has('name_ar') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('name_ar')); ?></small>
            </div>

            <div class="form-group col-md-6">
                <?php echo Form::label('name_en', awtTrans('Title English')); ?>

                <?php echo Form::text('name_en', null, ['class' => $errors->has('name_en') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('name_en')); ?></small>
            </div>
        </div> -->

        <!-- <div class="row">

            <div class="form-group col-md-6">
                <?php echo Form::label('facebook', awtTrans('FaceBook')); ?>

                <?php echo Form::text('facebook', null, ['class' => $errors->has('facebook') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('facebook')); ?></small>
            </div>

            <div class="form-group col-md-6">
                <?php echo Form::label('twitter', awtTrans('Twitter')); ?>

                <?php echo Form::text('twitter', null, ['class' => $errors->has('twitter') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('twitter')); ?></small>
            </div>

        </div> -->

        <!-- <div class="row">

            <div class="form-group col-md-12">
                <?php echo Form::label('youtube', awtTrans('Youtube')); ?>

                <?php echo Form::text('youtube', null, ['class' => $errors->has('youtube') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('youtube')); ?></small>
            </div>
        </div>

        <div class="row">

            <div class="form-group col-md-6">
                <?php echo Form::label('instagram', awtTrans('Instagram')); ?>

                <?php echo Form::text('instagram', null, ['class' => $errors->has('instagram') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('instagram')); ?></small>
            </div>

            <div class="form-group col-md-6">
                <?php echo Form::label('snapchat', awtTrans('Snapchat')); ?>

                <?php echo Form::text('snapchat', null, ['class' => $errors->has('snapchat') ? 'form-control is-invalid' : 'form-control']); ?>

                <small class="text-danger"><?php echo e($errors->first('snapchat')); ?></small>
            </div>

        </div> -->


        <!-- <div class="row">

            <div class="form-group col-lg-6">
                <?php echo Form::label('desc_ar', awtTrans('Description Arabic')); ?>

                <?php echo Form::textarea('desc_ar', null, [ 'class' => 'form-control tinyEditor']); ?>

                <small class="text-danger"><?php echo e($errors->first('desc_ar')); ?></small>
            </div>

            <div class="form-group col-lg-6">
                <?php echo Form::label('desc_en', awtTrans('Description English')); ?>

                <?php echo Form::textarea('desc_en', null, [ 'class' => 'form-control tinyEditor']); ?>

                <small class="text-danger"><?php echo e($errors->first('desc_en')); ?></small>
            </div>

        </div> -->

        <div class="row">

            <div class="form-group col-lg-12">
                <?php echo Form::label('photo', awtTrans('الصورة')); ?>

                <div class="input-group">
                    <span class="input-group-btn">
                        <a id="lfm" data-input="photo" data-preview="photo" class="btn btn-secondary text-white px-4" style="border-top-right-radius: 0;border-bottom-right-radius: 0;border-top-left-radius: 0;border-bottom-left-radius: 0;">
                            <i class="fa fa-picture-o"></i> <?php echo e(awtTrans('اختر الصورة')); ?>

                        </a>
                    </span>
                    <?php echo Form::text('photo', null, ['class' => $errors->has('photo') ? 'form-control is-invalid photo' : 'form-control photo' , 'readonly' => 'readonly']); ?>

                </div>
                <div class="mb-3 mt-3 d-block slider-holder photo" id="holder">
                    <img width="100" src="http://127.0.0.1:8000/storage/1/th.jpeg" alt="">
                </div>
                <small class="text-danger"><?php echo e($errors->first('photo')); ?></small>
            </div>
        </div>

        <div class="row">

            <div class="form-group col-lg-12">
                <button type="button" class="btn btn-info btn-block" id="add-keyword"><i class="fas fa-plus"></i></button>
            </div>
        </div>

        <div class="row" id="append-keyword">

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


                <div class="form-group col-lg-6">
                    <?php echo Form::label('keyword_ar', awtTrans('الكلمات المفتاحية بالعربي')); ?>

                    <?php echo Form::text('keyword_ar[]', null, [ 'class' => 'form-control']); ?>

                    <small class="text-danger"><?php echo e($errors->first('keyword_ar')); ?></small>
                </div>

                <div class="form-group col-lg-6">
                    <?php echo Form::label('keyword_en', awtTrans('الكلمات المفتاحية بالانجليزي')); ?>

                    <?php echo Form::text('keyword_en[]', null, [ 'class' => 'form-control']); ?>

                    <small class="text-danger"><?php echo e($errors->first('keyword_en')); ?></small>
                </div>

            </div>

        </div>


    </div>
</div>


<?php echo Form::submit(awtTrans('Add Manufacturing Company'), ['class' => 'btn btn-success']); ?>

<a href="<?php echo e(route('admin.manufacturing-companies.index')); ?>" class="btn btn-primary"><i class="fas fa-arrow-left  fa-sm  "></i> <?php echo e(awtTrans('Back')); ?></a>
<?php echo Form::close(); ?>


<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\jaadara\Projects from 10-2022\alkhuraiji\resources\views/admin/manufacturing-companies/create.blade.php ENDPATH**/ ?>