method
select_html
select_html(type, options, prefix = nil, include_blank = false, discard_type = false, disabled = false)
private
Hide source
# File actionpack/lib/action_view/helpers/date_helper.rb, line 238 def select_html(type, options, prefix = nil, include_blank = false, discard_type = false, disabled = false) select_html = %(<select name="#{prefix || DEFAULT_PREFIX}) select_html << "[#{type}]" unless discard_type select_html << %(") select_html << %( disabled="disabled") if disabled select_html << %(>\n) select_html << %(<option value=""></option>\n) if include_blank select_html << options.to_s select_html << "</select>\n" end