Class: ActionView::Helpers::InstanceTag
- Inherits:
-
Object
- Object
- ActionView::Helpers::InstanceTag
- Defined in:
- lib/lola/helpers.rb
Instance Method Summary collapse
Instance Method Details
#to_language_select_tag(priority_languages, options, html_options) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/lola/helpers.rb', line 31 def to_language_select_tag(priority_languages, , ) = .stringify_keys add_default_name_and_id() value = value(object) opts = ((value, *priority_languages), , value) content_tag("select", opts, ) end |