BootstrapNoRecordFound

Project Goal

  1. Replace a blank attribute from an object described at a definition list item for some custom code, like a red 'No Record Found' span.

Install

Include BootstrapNoRecordFound in your Gemfile

gem 'bootstrap-ro-record-found'

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.