mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
✂️
This commit is contained in:
parent
0afbe74c3b
commit
f28340a5ef
2 changed files with 2 additions and 3 deletions
|
@ -133,7 +133,6 @@ module ActionView
|
||||||
option_tags ||= ""
|
option_tags ||= ""
|
||||||
html_name = (options[:multiple] == true && !name.to_s.ends_with?("[]")) ? "#{name}[]" : name
|
html_name = (options[:multiple] == true && !name.to_s.ends_with?("[]")) ? "#{name}[]" : name
|
||||||
|
|
||||||
|
|
||||||
if options.include?(:include_blank)
|
if options.include?(:include_blank)
|
||||||
include_blank = options.delete(:include_blank)
|
include_blank = options.delete(:include_blank)
|
||||||
if include_blank == true
|
if include_blank == true
|
||||||
|
|
Loading…
Reference in a new issue