Ever feel like coding a quick web site without wire framing the front end? Bootstrap templates offer a quick way of getting a page to some basic styling to Rails apps. I should have used this approach earlier in my development career, but for the reader that is just starting out building a basic rails app with no styling on the front end, read on!
A couple weeks ago, I wrote a post about a quick fix for building a responsive web site with the html meta tag <meta name="viewport" content="width=device-width, initial-scale=1">. Well, my brother took another look at the site I was working on and suggested just using a start template. Duh! There are a variety of templates for bootstrap and a couple of basic ones can be found here. Just click a template, view the page source in your browser, and copy and paste the relevant code in the head and script tags into your application.html.erb file in your views/layouts folder. Just be sure you copy these bits
And also in the script tag in the body to get the jquery for some bootstrap components to work correctly.