sethvargo/bootstrap_forms — pull request #51 by sshaw (2012-08-28 06:35:16+00:00)
Title: Required attribute detection should create a required attribute, not a CSS class

Hi, required attributes (`validates :column, :presence => true`) resulted in the the creation of a CSS class named "required" but [the Bootstrap CSS](https://github.com/twitter/bootstrap/blob/master/less/forms.less#L355) was written with the HTML5 required attribute in mind.

I also modified `uneditable_input` so that one can pass various HTML attributes -not just an ID (not sure why I didn't do this to begin with)- and I removed a superfluous call or two to `join`.

One quirk with the form builder is that since it overrides the core form creation methods one has to resort to another builder or `ActionView::Helpers::FormTagHelper` to create non-standard bootstrap forms like putting a `select_field` in place of a `label`...