Module AccountsHelper
In: app/helpers/accounts_helper.rb

Methods

Public Instance methods

[Source]

    # File app/helpers/accounts_helper.rb, line 11
11:   def language_dictionary_field
12:     collection_select('user', 'language_dictionary' , Language.find(:all), 'iso_639_code', 'language' )
13:   end

[Source]

   # File app/helpers/accounts_helper.rb, line 3
3:   def language_native_field(selected_language = nil, on_change = nil)
4:     select_tag(
5:       'user[language_native]', 
6:       options_from_collection_for_select(Language.translated,'iso_639_code','language', selected_language || @user.language_native), 
7:       :onchange => on_change
8:     )  
9:   end

[Source]

    # File app/helpers/accounts_helper.rb, line 15
15:   def language_target_field
16:     collection_select('user', 'language_target' , Language.find(:all), 'iso_639_code', 'language' )
17:   end

[Source]

    # File app/helpers/accounts_helper.rb, line 19
19:   def navigation_tab_class(tab_action)
20:     tab_action == action_name ? 'kb_navigation_selected' : 'kb_navigation_not_selected'
21:   end

[Validate]