<?php if(session('success')): ?>
    <div id="notifikasi" class="alert alert-success alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h4><i class="icon fa fa-check"></i> Berhasil</h4>
        <p><?php echo session('success'); ?></p>
    </div>
<?php endif; ?>

<?php if(session('error')): ?>
    <div <?php if(session('autodismiss')): ?> <?php else: ?> id="notifikasi" <?php endif; ?> class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h4><i class="icon fa fa-ban"></i> Gagal</h4>
        <p><?php echo session('error'); ?></p>
    </div>
<?php endif; ?>

<?php if(session('warning')): ?>
    <div id="notifikasi" class="alert alert-warning alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h4><i class="icon fa fa-warning"></i> Peringatan</h4>
        <p><?php echo session('warning'); ?></p>
    </div>
<?php endif; ?>

<?php if(session('information')): ?>
    <div id="notifikasi" class="alert alert-info alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
        <h4><i class="icon fa fa-info"></i> Informasi</h4>
        <p><?php echo session('information'); ?></p>
    </div>
<?php endif; ?>

<?php if($session->force_change_password && $controller === 'pengguna'): ?>
    <div class="callout callout-warning">
        <h4><i class="icon fa fa-warning"></i>&nbsp;&nbsp;Peringatan</h4>
        <p>Anda masih menggunakan user dan password bawaan, silakan ganti terlebih dahulu dengan yang lebih aman.</p>
    </div>
<?php endif; ?>
<?php /**PATH /home/ptwj8518/public_html/matagara.tigaraksa.desa.id/resources/views/admin/layouts/components/notifikasi.blade.php ENDPATH**/ ?>