README.md in formtastic-bootstrap-1.2.0 vs README.md in formtastic-bootstrap-2.0.0

- old
+ new

@@ -6,11 +6,11 @@ ## Getting Started ### Dependencies -Formtastic Bootstrap has only been tested with Ruby 1.9.2, Rails 3.1, Formtastic 2.0 and Twitter Bootstrap 1.3. +Formtastic Bootstrap has only been tested with Ruby 1.9.2, Rails 3.2.x, Formtastic 2.2.x and Twitter Bootstrap 2.x. #### Installation Install the gem with @@ -37,10 +37,11 @@ Make sure you've already downloaded and installed Formtastic! ## Formtastic vs. Formtastic Bootstrap +THIS SECTION IS OUT OF DATE. ### Overview In general, Formtastic creates very verbose HTML whereas Bootstrap expects simpler HTML. Every attempt has been made to generate the HTML expected by Bootstrap while still generating the rich HTML provided by Formtastic. Here's a pretty typical (simplified) example of what Formtastic generates and what Formtastic Bootstrap generates. @@ -94,9 +95,11 @@ <input class="btn create commit" name="commit" type="submit" value="Create Post" /> </div> </form> ### Major Difference in Behavior + +THIS SECTION IS OUT OF DATE * Formtastic Bootstrap omits the <tt>label</tt> class on label tags since Twitter Bootstrap uses this tag in another context (and it makes bad things happen.) * Formtastic Bootstrap puts the <tt>input</tt> label in a different place because it makes Bootstrap behave correctly. * Formtastic Bootstrap renders <tt>:date</tt>, <tt>:datetime</tt> and <tt>:time</tt> as text fields since this is how Twitter Bootstrap presents these data types (Formtastic renders them as dropdowns.) Some Rails magic may have been lost here. Additionally: * <tt>:date</tt> et al are tagged with the <tt>stringish</tt> class.