

<?php $__env->startSection('content'); ?>
<h2 class="mb-3"><?php echo e(awtTrans('اضافة عميل جديد')); ?> </h2>
<div class="row">
    <div class="col-lg-12">
        <?php echo Form::open(['method' => 'POST', 'route' => 'admin.teams.store', 'files'=>true , 'id' => 'form-team']); ?>

        <div class="row">

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

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

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

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

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

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

        </div>

        <div class="row">

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

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

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

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

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

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

        </div>

        <div class="row">

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

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

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

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

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

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

        </div>


        <div class="row">

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

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

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

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

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

                <small class="text-danger"><?php echo e($errors->first('job_title_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' , 'required' => 'required']); ?>

                </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="text-right">
            <?php echo Form::reset(awtTrans('اعادة'), ['class' => 'btn btn-warning']); ?>

            <?php echo Form::submit(awtTrans('اضافة'), ['class' => 'btn btn-success']); ?>

        </div>
        <?php echo Form::close(); ?>

    </div>
</div>




<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(url('dashboard/forms/teams/create.js')); ?>"></script>
<?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\betan-back\resources\views/admin/teams/create.blade.php ENDPATH**/ ?>