<?php echo Form::open(['url'=>route('updateMeta',['id'=>$id]),'method'=>'put','class'=>'inline-form']); ?>

  <div class="form-group">
    <h3><?php echo e(isset($pagename->locales()->where('locale',config('app.locale'))->first()->page_name) ? $pagename->locales()->where('locale',config('app.locale'))->first()->page_name : title_case($pagename->key)); ?></h3>
  </div>
  <div class="form-group col-xs-12">
    <?php echo Form::label('title',__('backend.title'),['class'=>'control-label']); ?>

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

  </div>
  <div class="form-group col-xs-12">
    <?php echo Form::label('description',__('backend.description'),['class'=>'control-label']); ?>

    <?php echo Form::textarea('description',$desc,['class'=>'form-control not-tinymce']); ?>

  </div>
  <div class="form-group col-xs-12">
    <?php echo Form::label('keywords',__('backend.keywords'),['class'=>'control-label']); ?>

    <select name="keywords[]" class="form-control" multiple>
      <?php if(!empty($keyword)): ?>
        <?php $__currentLoopData = $keyword; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <option value="<?php echo e($value); ?>" selected="">
            <?php echo e($value); ?>

          </option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      <?php endif; ?>
    </select>
  </div>
  <div class="form-group text-center">
    <button type="submit" class="btn btn-primary"><?php echo app('translator')->getFromJson('backend.update'); ?></button>
  </div>
<?php echo Form::close(); ?>

