orbit-4-2/app/views/mobile/_language_select.mobile.erb

9 lines
517 B
Plaintext
Raw Permalink Normal View History

<div data-role="dialog" id="language_select">
<div data-role="content" data-theme="c">
<h3><%= t('mobile.language') %></h3>
<% @site_in_use_locales.each do |locale| %>
<%= link_to t(:_locale, :locale => locale), add_locale(remove_locale((referer rescue request.fullpath)), locale), {"data-role" => "button", "data-theme" => "b", "data-shadow" => "true"} %>
<% end %>
<a href="#" data-role="button" data-mini="true" data-rel="back" data-theme="a"><%= t('mobile.cancel') %></a>
</div>
</div>