This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
CHANGELOG | ||
| |
LGPL_LICENSE | ||
| |
README | ||
| |
Rakefile | ||
| |
init.rb | ||
| |
install.rb | ||
| |
lib/ | ||
| |
tasks/ | ||
| |
test/ | ||
| |
uninstall.rb |
README
FlashAlerts
===========
Adds an easy to use helper to include flash alerts to your rails app.
Example
=======
Add
<%= flash_alerts %>
In your rails app layout, and that's all, if there are messages in flash object they will
be rendered like this:
<div id='flash_message_box'>
<div class='flash_message' id='flash_error'>
Error Flash Message
</div>
<div class='flash_message' id='flash_notice'>
Notice Flash Message
</div>
</div>
So you can CSS-style it to your hearts content.
Not the plugin the world was waiting for, but I found my self doing this over and over,
I thought it would make a nice tiny plug in.
Copyright (c) 2008 Gabriel Medina, released under the LGPL license








