method

prompt_text

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionView::Helpers::FormOptionsHelper
prompt_text(prompt) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/form_options_helper.rb, line 834
        def prompt_text(prompt)
          prompt.kind_of?(String) ? prompt : I18n.translate("helpers.select.prompt", default: "Please select")
        end
Register or log in to add new notes.