

<?php $__env->startSection('content'); ?>

<div class="row justify-content-center">

    <div class="col-md-6">

        <div class="card shadow">

            <div class="card-header">
                <h4>
                    <i class="fas fa-key"></i>
                    Ubah Password
                </h4>
            </div>

            <div class="card-body">

                <?php if(session('error')): ?>
                    <div class="alert alert-danger">
                        <?php echo e(session('error')); ?>

                    </div>
                <?php endif; ?>

                <form method="POST" action="/profile/password">

                    <?php echo csrf_field(); ?>

                    <div class="form-group">
                        <label>Password Lama</label>
                        <input type="password"
                               name="password_lama"
                               class="form-control"
                               required>
                    </div>

                    <div class="form-group">
                        <label>Password Baru</label>
                        <input type="password"
                               name="password"
                               class="form-control"
                               required>
                    </div>

                    <div class="form-group">
                        <label>Konfirmasi Password Baru</label>
                        <input type="password"
                               name="password_confirmation"
                               class="form-control"
                               required>
                    </div>

                    <button class="btn btn-primary">
                        <i class="fas fa-save"></i>
                        Simpan Password
                    </button>

                    <a href="/profile"
                       class="btn btn-secondary">
                        Kembali
                    </a>

                </form>

            </div>

        </div>

    </div>

</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\sistem-gaji-sekolah\resources\views/profile/password.blade.php ENDPATH**/ ?>