mjbellantoni/formtastic-bootstrap — pull request #112 by gbisheimer (2014-10-01 10:18:55+00:00)
Title: Support for non standard input classes

Avoids the exception when using an input class not defined in FormtasticBootstrap namespace.
For example, I'm using activeadmin-select2 GEM and this error raises when using FormtasticBootstrap as form builder like this:

```erb
<%= semantic_form_for [:admin, @invoice], builder: FormtasticBootstrap::FormBuilder do |f| %>
<%= f.semantic_errors *f.object.errors.keys %>
<%= f.inputs "Invoice" do %>

<%= f.input :is_proforma, :wrapper_html => {:class => "col-md-1"} %>
<%= f.input :partner, :as => :select2, :wrapper_html => {:class => "col-md-5"} %>
<%= f.input :currency, :as => :select2, :wrapper_html => {:class => "col-md-2"} %>
<%= f.input :currency_rate, :wrapper_html => {:class => "col-md-2"} %>
<%= f.input :date_invoice, :as => :date_picker, :wrapper_html => {:class => "col-md-2"} %>

<% end %>
<%= f.actions do %>
<%= f.action :submit, :button_html => {:class => "btn btn-success pull-right"} %>
<%= link_to "Cancel", [:admin, @invoice], {:class => "btn btn-default pull-right"} %>
<% end %>
<% end %>
```