Skip to content

Commit

Permalink
Removed unneeded block from date select helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
shivam091 committed May 21, 2023
1 parent 0955b63 commit 2799e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rails_bootstrap_form/inputs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module Inputs
end

DATE_SELECT_HELPERS.each do |field_tag_name|
define_method(field_tag_name) do |attribute, options = {}, html_options = {}, &block|
define_method(field_tag_name) do |attribute, options = {}, html_options = {}|
options = {bootstrap_form: {field_class: "form-select"}}.deep_merge!(options)

field_wrapper_builder(attribute, options, html_options) do
Expand Down

0 comments on commit 2799e68

Please sign in to comment.