Bootstrap No Record Found
Project Goal
Replace blank attributes at definition list items for some custom code, like a red 'No Record Found' span. Available to definition list with .dl-horizontal class.
Install
Include BootstrapNoRecordFound
in your Gemfile
gem "bootstrap-no-record-found", "~> 0.0.4"
Then run the install generator
rails g bootstrap_no_record_found:install
This will install the initializer:
config/initializers/bootstrap_no_record_found.rb
and you can edit the custom message on this file.
Javascript
Require BootstrapNoRecordFound in your application.js
//= require bootstrap/no-record-found
Tested on Mozilla Firefox and Google Chrome.