method

prompt_option_tag

Importance_1
v6.1.3.1 - Show latest stable - 0 notes - Class: ActionView::Helpers
prompt_option_tag(type, options) private

Builds a prompt option tag with supplied options or from default options.

prompt_option_tag(:month, prompt: 'Select month')
=> "<option value="">Select month</option>"
Show source
Register or log in to add new notes.