<!-- AUTOR SELECT -->
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('Autor'); ?></label>
    <div class="col-lg-6">
        <select name="author_id" class="form-control select-author">
            <option value=""><?php echo app('translator')->get('Nema'); ?></option>
            <?php $__currentLoopData = $authors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $author): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($author->id); ?>" <?php echo e(old('author_id', $entity->author_id) == $author->id ? "selected" : ""); ?>><?php echo e($author->name); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
    </div>
</div>

<!-- AUTOR SELECT -->
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('Štampano izdanje'); ?></label>
    <div class="col-lg-6">
        <select name="printed_edition_id" class="form-control select-printed-edition">
            <option value=""><?php echo app('translator')->get('Nema'); ?></option>
            <?php $__currentLoopData = $printed_editions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $printed_edition): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($printed_edition->id); ?>" <?php echo e(old('printed_edition_id',$printed_edition_of_article) == $printed_edition->id ? "selected" : ""); ?>><?php echo e($printed_edition->title); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
    </div>
</div>

<div class="form-group row d-none">
    <label class="col-12 control-label"><?php echo app('translator')->get('Štampano izdanje EN'); ?></label>
    <div class="col-lg-6">
        <select name="printed_edition_en_id" class="form-control select-printed-edition">
            <option value=""><?php echo app('translator')->get('Nema'); ?></option>
            <?php $__currentLoopData = $printed_editions_en; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $printed_edition): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($printed_edition->id); ?>" <?php echo e(old('printed_edition_id',$printed_edition_en_of_article) == $printed_edition->id ? "selected" : ""); ?>><?php echo e($printed_edition->title); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </select>
    </div>
</div>
<!-- SOURCE INPUT -->
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('Izvor'); ?></label>
    <div class="col-lg-12">
        <input type="text" class="form-control select-source" name="source" value="<?php echo e(old('source', $entity->source)); ?>">
    </div>
</div>
<!-- PREHEADING INPUT -->
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('Preheading'); ?></label>
    <div class="col-lg-12">
        <input type="text" class="form-control" name="preheading" value="<?php echo e(old('preheading',  $entity->preheading)); ?>">
    </div>
</div>
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('SEO naslov (Fb/Tw/In)'); ?> - maksimalno 90 karaktera</label>
    <div class="col-lg-12">
        <input type="text" class="form-control" name="og_title" value="<?php echo e(old('og_title',  $entity->og_title)); ?>" maxlength="90">
    </div>
</div>
<!-- NOTIFICATION TITLE INPUT -->
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('Naslov notifikacije'); ?></label>
    <div class="col-lg-12">
        <input type="text" class="form-control" name="push_title" value="<?php echo e(old('push_title',  $entity->push_title)); ?>">
    </div>
</div>
<!-- TITLE INPUT -->
<div class="form-group row">
    <label class="col-12 control-label"><?php echo app('translator')->get('Naslov'); ?> - maksimalno 120 karaktera</label>
    <div class="col-lg-12">
        <input type="text" class="form-control" name="heading" value="<?php echo e(old('heading',  $entity->heading)); ?>" maxlength="120">
    </div>
</div>
<!-- INTRODUCTION INPUT -->
<div class="form-group row">
    <label class="col-8 control-label"><?php echo app('translator')->get('Uvod'); ?> - maksimalno 140 karaktera</label>
    <div class="col-lg-12">
        <textarea name="lead" class="form-control" id="leadTextArea" rows="5" maxlength="140"><?php echo e(old('lead', $entity->lead)); ?></textarea>
    </div>
</div>
<div class="form-group row">
    <div class="col-lg-12">
        <a class="btn btn-info fillLead">Popuni iz teksta</a>
    </div>
</div>

<?php $__env->startPush('footer_scripts'); ?>
    <script>
        $('.article-sources select').select2({
            minimumResultsForSearch: -1
        });
    </script>
<?php $__env->stopPush(); ?><?php /**PATH /opt/cms/resources/views/articles/partials/form/sources.blade.php ENDPATH**/ ?>