summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-03-24 16:06:57 +0100
committerFlorian Pritz <bluewind@xinu.at>2017-03-24 16:06:57 +0100
commit30183ac6133925e87e89aa115f011c72bf94b434 (patch)
tree3e66c77b2057e1f1792038cf9c91a737e6cb27b9
parent971e14ea4b454df71f142f18738e33848b205ad4 (diff)
Allow alternative colors in alert template
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/fragments/alert-wide.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/fragments/alert-wide.php b/application/views/file/fragments/alert-wide.php
index ae303e119..d17fdc4c0 100644
--- a/application/views/file/fragments/alert-wide.php
+++ b/application/views/file/fragments/alert-wide.php
@@ -1,3 +1,3 @@
-<div class="alert alert-danger alert-wide">
+<div class="alert <?php echo isset($error_type) ? $error_type : "alert-danger"; ?> alert-wide">
<?php echo $error_message; ?>
</div>