This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/mobile/_language_select.mobile.erb

9 lines
517 B
Plaintext
Raw Permalink Normal View History

2012-12-19 19:21:50 +00:00
<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>