<?php helper('adminalert'); ?>
<?php if (session()->getFlashdata('success')) : ?>
 <div class="alert alert-success alert-dismissible fade show admin-flash-alert" id="successmessage" role="alert">
    <div class="admin-flash-alert__body"><?php echo admin_flash_bilingual_html((string) session()->getFlashdata('success')); ?></div>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
<?php endif ?>


<?php if (session()->getFlashdata('fail')) : ?>
 <div class="alert alert-danger alert-dismissible fade show admin-flash-alert" id="failmessage" role="alert">
    <div class="admin-flash-alert__body"><?php echo admin_flash_bilingual_html((string) session()->getFlashdata('fail')); ?></div>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
<?php endif ?>
