module ActionView::Helpers::ToJobFunctionTag

Public Instance Methods

to_job_function_tag(options, html_options) click to toggle source
# File lib/job_function.rb, line 38
def to_job_function_tag(options, html_options)
  html_options = html_options.stringify_keys
  add_default_name_and_id(html_options)
  value = value(object)
  content_tag("select",
    add_options(
      job_functions_for_select(value),
      options, value
    ), html_options
  )
end