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 | |
|---|---|---|---|
| |
MIT-LICENSE | Sat Apr 19 05:52:50 -0700 2008 | |
| |
README | Fri Dec 26 19:53:12 -0800 2008 | |
| |
Rakefile | Sat Apr 19 05:52:50 -0700 2008 | |
| |
init.rb | Sat Apr 19 05:52:50 -0700 2008 | |
| |
install.rb | Sat Apr 19 05:52:50 -0700 2008 | |
| |
lib/ | Fri Dec 26 19:53:12 -0800 2008 | |
| |
public/ | Wed Apr 30 14:06:17 -0700 2008 | |
| |
tasks/ | Sat Apr 19 05:52:50 -0700 2008 | |
| |
test/ | Fri Dec 26 19:53:12 -0800 2008 | |
| |
uninstall.rb | Sat Apr 19 05:52:50 -0700 2008 |
README
DisplayFlashHelper
==================
Just a little helper to make it easier to display notice, warning, and error messages. It will only
show flash[:success], flash[:notice], flash[:warning], or flash[:error] messages.
There are some default styles and icons that can be used.
rake display_helper:setup
Example
=======
In your controller:
def create
do_somthing
flash[:notice] = 'Something has been done.'
end
In your view (layout or template):
<%= display_flash %>
And it will create:
<div id="flash">
<div class="notice">Something has been done.</div>
</div>
Silk Icons from http://famfamfam.com/lab/icons/silk/, released under the Creative Commons Attribution 2.5 License
Copyright (c) 2008 Geoffrey Dagley, released under the MIT license






