Skip to content

Commit 599e9a3

Browse files
author
Walter Davis
committed
naive application of the append and prepend wrapper method
1 parent 6bfa5f7 commit 599e9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bootstrap_form/inputs/file_field.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module FileField
1010
def file_field_with_bootstrap(name, options={})
1111
options = options.reverse_merge(control_class: "form-control")
1212
form_group_builder(name, options) do
13-
input_with_error(name) do
13+
prepend_and_append_input(name, options) do
1414
file_field_without_bootstrap(name, options)
1515
end
1616
end

0 commit comments

Comments
 (0)