<div class="modal fade" id="mGallery" tabindex="-1" role="dialog" data-keyboard="false">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">

      <div class="modal-body modal-form text-center">
        <form action="" class="form-horizontal ajax-submit" method="POST">

          <img src="" alt="" class="m-b-20">

          <?php echo e(csrf_field()); ?>

          <?php echo e(method_field("PUT")); ?>


          <div class="row">

            <ul class="nav nav-tabs m-l-20 m-r-20">
              <?php $__currentLoopData = config('translatable.locales'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="<?php if($loop->first): ?> active <?php endif; ?>">
                  <a href="#gal<?php echo e($lang); ?>" data-toggle="tab"><?php echo e($language); ?></a>
                </li>
              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>

            
            <section class="tab-content">

              <?php $__currentLoopData = config('translatable.locales'); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $lang => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

              <div class="tab-pane <?php if($loop->first): ?> active <?php endif; ?>" id="gal<?php echo e($lang); ?>">
              <br>

                <div class="row">

                  <div class="form-group">
                    <label for="title" class="col-lg-2 col-md-2 control-label"><?php echo app('translator')->getFromJson('backend.caption'); ?></label>
                    <div class="col-lg-8 col-md-8 col-xs-12 no-gutter">
                      <input type="text" class="form-control" name="caption[<?php echo e($lang); ?>]"
                        placeholder="Caption">
                    </div>
                  </div>

                  <div class="form-group">
                    <label for="title" class="col-lg-2 col-md-2 control-label"><?php echo app('translator')->getFromJson('backend.alt'); ?></label>
                    <div class="col-lg-8 col-md-8 col-xs-12 no-gutter">
                      <input type="text" class="form-control" name="alt[<?php echo e($lang); ?>]"
                        placeholder="Alt">
                    </div>
                  </div>

                </div>


              </div>

              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

            </section>
            
          </div>


          <div class="form-group">
            <div class="col-md-12">
              <button type="submit" class="btn btn-primary btn-submit"><?php echo app('translator')->getFromJson('backend.save'); ?></button>
              <button type="button" class="btn btn-default btn-submit" data-dismiss="modal"><?php echo app('translator')->getFromJson('backend.close'); ?></button>
            </div>
          </div>

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