Permalink
Browse files

Introduce a CSS "shim" so that we can fix situtations where Bootstrap

is not providing markup provided by Formtastic.  Hopefully this stays
small!

Fixes #5.
  • Loading branch information...
mjbellantoni committed Dec 8, 2011
1 parent a009dec commit 630648100de8ba63e7da59df0ac67e30a1906801
View
@@ -102,7 +102,7 @@ made to generate the HTML expected by Bootstrap while still generating the rich
Bootstrap is somewhat incomplete, and in a few cases an inference needed to be drawn to determine a course of action. If you disagree with any of these choices, feel free to let me know.
-(At some point, this gem may also provide some additional CSS to cover cases left unaddressed by Bootstrap, but its obvious what should be done. That's not going to happen any time soon though!)
+The gem also provides some "shim" CSS where Bootstrap is missing styles provided Formtastic.
### Other
@@ -139,7 +139,7 @@ If you're filing a bug, thank you! Secondly, in the report please include:
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
-* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
+* Make sure to add tests for it and to run the test suite. **If you don't have tests, I won't accept the pull.** If you need help with this, please ask.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
@@ -1,4 +1,5 @@
require "formtastic"
+require "formtastic-bootstrap/engine"
require "formtastic-bootstrap/helpers"
require "formtastic-bootstrap/inputs"
require "formtastic-bootstrap/form_builder"
@@ -0,0 +1,4 @@
+module FormtasticBootstrap
+ class Engine < ::Rails::Engine
+ end
+end
@@ -0,0 +1,3 @@
+.hidden {
+ display: none;
+}

0 comments on commit 6306481

Please sign in to comment.