<div class="card">
    <div class="card-header d-flex justify-content-between align-items-center w-100">
        <h3 class="card-title mb-1" style="margin-top: 5px;">Halaman Ubah Kata Sandi Admin</h3>
    </div>
    <div class="row">
        <div class="col-lg-6 mt-4 ml-4">
            <?= $this->session->flashdata('message'); ?>
            <form action="<?= base_url('admin/ubahkatasandi'); ?>" method="post">
                <div class="form-group">
                    <label for="current_password" style="font-weight: normal;">Kata sandi saat ini</label>
                    <input type="password" class="form-control" id="current_password" name="current_password">
                    <?= form_error('current_password', '<small class="text-danger pl-3">', '</small>'); ?>
                </div>
                <div class="form-group">
                    <label for="new_password1" style="font-weight: normal;">Kata sandi baru</label>
                    <input type="password" class="form-control" id="new_password1" name="new_password1">
                    <?= form_error('new_password1', '<small class="text-danger pl-3">', '</small>'); ?>
                </div>
                <div class="form-group">
                    <label for="new_password2" style="font-weight: normal;">Ulangi kata sandi baru</label>
                    <input type="password" class="form-control" id="new_password2" name="new_password2">
                    <?= form_error('new_password2', '<small class="text-danger pl-3">', '</small>'); ?>
                </div>
                <div class="form-group">
                    <button type="submit" class="btn btn-primary">Ubah kata sandi</button>
                </div>
            </form>
        </div>
    </div>
</div>