<?php $__env->startSection('title', 'IV Media - Increase your popularity'); ?>
<?php $__env->startSection('content'); ?>
<!-- Start content -->
<div class="content">
    <div class="container-fluid">

        <div class="row">
            <div class="col-xl-12">
                <div class="page-title-box">
                    <h4 class="page-title float-left">Dashboard</h4>

                    <ol class="breadcrumb float-right">
                        <li class="breadcrumb-item"><a href="<?php echo e(url('/')); ?>"><?php echo \App\Helper::panelName(); ?></a>
                        </li>
                        <li class="breadcrumb-item active">Dashboard</li>
                    </ol>

                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
        <!-- end row -->


        <div class="row">
            <?php if($flash = session('message')): ?>
              <div class="col-md-12">
                <div class="alert alert-success" role="alert">
                  <ul style="margin-bottom:0;">
                  <?php $__currentLoopData = $flash; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li><?php echo e($key.' => '.$val); ?></li>
                  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                  </ul>
                </div>
              </div>
            <?php endif; ?>
            <div class="col-xs-12 col-md-12">
                <div class="card-box">
                    <h4 class="header-title m-t-0 m-b-30">Change Password</h4>
                    <div class="row">
                        <div class="col-12">
                            <form action="<?php echo e(url('user/change_password')); ?>" method="POST">
                                <?php echo e(csrf_field()); ?>


                                <fieldset class="form-group">
                                    <label for="password">Old Password</label>
                                    <input type="password" class="form-control <?php echo e($errors->has('old_password') ? ' parsley-error' : ''); ?>" id="old_password" name="old_password" value="<?php echo e(old('old_password')); ?>">
                                    <?php if($errors->has('old_password')): ?>
                                        <span class="help-block">
                                            <ul class="parsley-errors-list filled"><li class="parsley-required"><?php echo e($errors->first('old_password')); ?></li></ul>
                                        </span>
                                    <?php endif; ?>
                                </fieldset>

                                <fieldset class="form-group">
                                    <label for="password">New Password</label>
                                    <input type="password" class="form-control <?php echo e($errors->has('password') ? ' parsley-error' : ''); ?>" id="password" name="password" value="<?php echo e(old('password')); ?>">
                                    <?php if($errors->has('password')): ?>
                                        <span class="help-block">
                                            <ul class="parsley-errors-list filled"><li class="parsley-required"><?php echo e($errors->first('password')); ?></li></ul>
                                        </span>
                                    <?php endif; ?>
                                </fieldset>

                                <fieldset class="form-group">
                                    <label for="password_confirmation">Confirm Password</label>
                                    <input type="password" class="form-control <?php echo e($errors->has('password_confirmation') ? ' parsley-error' : ''); ?>" id="password_confirmation" name="password_confirmation" value="<?php echo e(old('password_confirmation')); ?>">
                                    <?php if($errors->has('password_confirmation')): ?>
                                        <span class="help-block">
                                            <ul class="parsley-errors-list filled"><li class="parsley-required"><?php echo e($errors->first('password_confirmation')); ?></li></ul>
                                        </span>
                                    <?php endif; ?>
                                </fieldset>

                                <button type="submit" class="btn btn-primary btn-block">Save</button>

                            </form>
                        </div>
                    </div><!-- end row -->
                </div>
            </div>
        </div>
        <!-- end row -->
    </div>
    <!-- container -->

</div>
<!-- content -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection('js'); ?>
<script>
  var resizefunc = [];
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>