|
createAlanguageChooserForm
Create a simple language chooser form: IntroductionCode used in the demo app to let the user change the UI language Details<div id='language_chooser'>
<% form_tag @current_path, :method => @request_method do -%>
<span><%= :change_language.l %>:
<%= select('user_locale', "code", Globalite.ui_locales, { :include_blank => true }) %>
<%= submit_tag :change.l %></span>
<% end -%>
</div>
|
Sign in to add a comment
