<div class="modal fade" tabindex="-1" role="dialog" id="post-set-schedule-dialog">
    <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title"><?php echo e(__('Post scheduling')); ?></h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body">
                <div class="form-group">
                    <label for="post_release_date"><?php echo e(__('Post release date')); ?></label>
                    <input type="datetime-local" class="form-control <?php echo e($errors->has('location') ? 'is-invalid' : ''); ?>" id="post_release_date" name="post_release_date"  value="<?php echo e(isset($release_date) && !$create_date->equalTo(\Carbon\Carbon::parse($release_date)) ? $release_date : null); ?>" max="">
                    <?php if($errors->has('post_release_date')): ?>
                        <span class="invalid-feedback" role="alert">
                    <strong><?php echo e($errors->first('post_release_date')); ?></strong>
                </span>
                    <?php endif; ?>
                </div>

                <div class="form-group">
                    <label for="post_expire_date"><?php echo e(__('Post expire date')); ?></label>
                    <input type="datetime-local" class="form-control <?php echo e($errors->has('location') ? 'is-invalid' : ''); ?>" id="post_expire_date" name="post_expire_date" aria-describedby="emailHelp"  value="<?php echo e(isset($expire_date) ? $expire_date : null); ?>" max="">
                        <span class="invalid-feedback" role="alert">
                            <strong><?php echo e(__('Posts having an expire date can not be price locked.')); ?></strong>
                        </span>
                </div>

                <p class="mb-0"><?php echo e(__("Scheduling takes place on server time")); ?>, <?php echo e(config('app.timezone')); ?>.</p>


            </div>
            <div class="modal-footer d-flex justify-content-between">
                <button type="button" class="btn btn-white"   onclick="PostCreate.clearPostScheduleSettings()"><?php echo e(__('Clear')); ?></button>
                <button type="button" class="btn btn-primary" onclick="PostCreate.savePostScheduleSettings()"><?php echo e(__('Save')); ?></button>
            </div>
        </div>
    </div>
</div>
<?php /**PATH /home/ygnbmjdo/funmate/resources/views/elements/post-schedule-setup.blade.php ENDPATH**/ ?>