Formtastic is fantastic form builder, and Bootstrap is a great front-end framework. Formtastic-Bootstrap used to combine them but it is no longer supported. Boomtastic is our far less comprehensive replacement for Formtastic-Bootstrap.
Someone whose site had depended on the formtastic-bootstrap
gem and is desperate for a way to migrate their site forward to Rails 4.1 or above.
We have only updated the following input types. [Further hacking or patching] may be required if you would like to add others. We use the original Formtastic names for the input types.
:boolean
:check_boxes
:date_select
:email
:file
:number
:password
:phone
:radio
:select
:string
:text
(text area):url
You should have Rails and Bootstrap. If you don't have those you probably don't need this gem anyway.
To add this gem, add the following code to your Gemfile
gem 'formtastic', github: 'r-spell/boomtastic', branch: 'boomtastic'
You will need to do a bundle install
after saving your Gemfile and before running your Rails app.
Boomtastic was built on Formtastic. Indeed this repository is a fork of Formtastic. The limited specs for our hacking are found in specs/bootsrap
. These specs use the Formtastic-Bootstrap specs as a template, and should all be passing. Other specs in this repository are the original Formtastic 3.1-Stable
specs and due to our massive amounts of hacking these will (and should) fail.
This hackery perpetrated by Rosanna Speller and Dave Morse.
Copyright (c) 2007-2016 Justin French, released under the MIT license.