instance method
weekday_select
Ruby on Rails 8.0.4
Since v7.0.10Signature
weekday_select(object, method, options = {}, html_options = {}, &block)
Returns select and option tags for the given object and method, using weekday_options_for_select to generate the list of option tags.
Parameters
-
objectreq -
methodreq -
optionsopt = {} -
html_optionsopt = {} -
blockblock
Source
# File actionview/lib/action_view/helpers/form_options_helper.rb, line 299
def weekday_select(object, method, options = {}, html_options = {}, &block)
Tags::WeekdaySelect.new(object, method, self, options, html_options, &block).render
end
Defined in actionview/lib/action_view/helpers/form_options_helper.rb line 299
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Helpers::FormOptionsHelper