#notification-cis
This gem is inspired by the notifications introduced in Windows 8.
Features
- Notifications slide in and out from the upper right corner of the page
- Configurable life span of the notification
- Option to display a heading
- Theme options (see CSS for built in themes)
- Ability to make the notification sticky
INSTALLTION
First thing you need to do is the installation , you can follow the below mentioned steps to install the gem inside your rails application. You need to add sudo if you are not using rvm(ruby version manager)
Add this following line in your Gemfile.
gem 'notification-cis'
Then run,
bundle install
Run the generator to create the initial files.
rails g notification_cis:install
Then add the below line in application.html.erb
<% = flash_helper(flash)%>
Reference Site
For more information you can refer to following site: