Skip to content
This repository has been archived by the owner on Nov 27, 2021. It is now read-only.

Commit

Permalink
Changed default message template to use flash-message class instead…
Browse files Browse the repository at this point in the history
… of `flash` id. Added default support for `class` attribute.
  • Loading branch information
michaelhue committed Sep 1, 2010
1 parent b8c56f0 commit 107831d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions views/elements/flash_message.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* Copy this file to `app/views/elements` to customize the output.
*/
?>

<div id="flash">
<?=$message ?>
<div class="flash-message<?php if(!empty($class)): ?> <?=$class; ?><?php endif; ?>">
<?=$message; ?>
</div>

0 comments on commit 107831d

Please sign in to comment.