
<?php $__env->startSection('title'); ?>
<title><?php echo e(__('admin.Edit Team')); ?></title>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('admin-content'); ?>
      <!-- Main Content -->
      <div class="main-content">
        <section class="section">
          <div class="section-header">
            <h1><?php echo e(__('admin.Edit Team')); ?></h1>
          </div>

          <div class="section-body">
            <a href="<?php echo e(route('admin.our-team.index')); ?>" class="btn btn-primary mb-3"> <i class="fa fa-list" aria-hidden="true"></i> <?php echo e(__('admin.Team List')); ?> </a>

            <div class="card">
                <div class="card-body">
                    <form action="<?php echo e(route('admin.our-team.update', $team->id)); ?>" method="POST" enctype="multipart/form-data">
                        <?php echo csrf_field(); ?>
                        <?php echo method_field('PUT'); ?>

                        <div class="form-group">
                            <label for=""><?php echo e(__('admin.Existing Image')); ?></label>
                            <div>
                                <img src="<?php echo e(asset($team->image)); ?>" alt="" class="team_avatar">
                            </div>
                        </div>

                        <div class="form-group">
                            <label for="image"><?php echo e(__('admin.Image')); ?> </label>
                            <input type="file" class="form-control-file" name="image" id="image">
                        </div>

                    <div class="row">

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="name"><?php echo e(__('admin.Name')); ?> <span class="text-danger">*</span></label>
                                <input type="text" class="form-control" name="name" id="name" value="<?php echo e($team->name); ?>">
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="designation"><?php echo e(__('admin.Designation')); ?> <span class="text-danger">*</span></label>
                                <input type="text" class="form-control" name="designation" id="designation" value="<?php echo e($team->designation); ?>">
                            </div>
                        </div>


                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="first_icon"><?php echo e(__('admin.First Icon')); ?></label>
                                <input type="text" name="first_icon" class="form-control custom-icon-picker" id="first_icon" value="<?php echo e($team->first_icon); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="first_link"><?php echo e(__('admin.First Icon Link')); ?></label>
                                <input type="text" name="first_link" class="form-control" id="first_link" value="<?php echo e($team->first_link); ?>">
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="second_icon"><?php echo e(__('admin.Second icon')); ?></label>
                                <input type="text" name="second_icon" class="form-control custom-icon-picker" id="second_icon" value="<?php echo e($team->second_icon); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="second_link"><?php echo e(__('admin.Second Icon Link')); ?></label>
                                <input type="text" name="second_link" class="form-control" id="second_link" value="<?php echo e($team->second_link); ?>">
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="third_icon"><?php echo e(__('admin.Third Icon')); ?></label>
                                <input type="text" name="third_icon" class="form-control custom-icon-picker" id="third_icon" value="<?php echo e($team->third_icon); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="third_link"><?php echo e(__('admin.Third Icon Link')); ?></label>
                                <input type="text" name="third_link" class="form-control" id="third_link" value="<?php echo e($team->third_link); ?>">
                            </div>
                        </div>

                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="four_icon"><?php echo e(__('admin.Fourth Icon')); ?></label>
                                <input type="text" name="four_icon" class="form-control custom-icon-picker" id="four_icon" value="<?php echo e($team->four_icon); ?>">
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="form-group">
                                <label for="four_link"><?php echo e(__('admin.fourth Icon Link')); ?></label>
                                <input type="text" name="four_link" class="form-control" id="four_link" value="<?php echo e($team->four_link); ?>">
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="status"><?php echo e(__('admin.Status')); ?> <span class="text-danger">*</span></label>
                        <select name="status" id="status" class="form-control">
                            <option <?php echo e($team->status == 1 ? 'selected' : ''); ?> value="1"><?php echo e(__('admin.Active')); ?></option>
                            <option <?php echo e($team->status == 0 ? 'selected' : ''); ?> value="0"><?php echo e(__('admin.In-active')); ?></option>
                        </select>
                    </div>

                    <button class="btn btn-primary"><?php echo e(__('admin.Update')); ?></button>


                    </form>
                </div>
            </div>
          </div>
        </section>
      </div>

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

<?php echo $__env->make('admin.master_layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/fwvrhhfw/topriserealtors.com/resources/views/admin/edit_team.blade.php ENDPATH**/ ?>