Skip to content

Commit

Permalink
add close icon to user flash message
Browse files Browse the repository at this point in the history
  • Loading branch information
thyseus committed Feb 16, 2015
1 parent 2974730 commit 78a90a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/user/models/Yum.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static function log($message,

public static function renderFlash() {
if(Yum::hasFlash()) {
echo '<div class="alert">';
echo '<div class="alert"><button type="button" class="close" data-dismiss="alert">&times;</button>';
echo Yum::getFlash();
echo '</div>';
Yii::app()->clientScript->registerScript('fade',"
Expand Down

0 comments on commit 78a90a1

Please sign in to comment.