Skip to content

Commit

Permalink
Add FileInput.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Bellantoni committed Nov 6, 2011
1 parent 26f743a commit 5b50040
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/formtastic-bootstrap/form_builder.rb
Expand Up @@ -15,6 +15,12 @@ def email_field(method, input_html_options)
end
end

def file_field(method, input_html_options)
bootstrap_input_wrapping do
super(method, input_html_options)
end
end

def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options, html_options)
bootstrap_input_wrapping do
super(method, collection, group_method, group_label_method, option_key_method, option_value_method, options, html_options)
Expand Down

0 comments on commit 5b50040

Please sign in to comment.