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

7 lines
334 B
Plaintext
Raw Normal View History

<%= content_for :header do %>
<%= render 'header_dialog_language' %>
<% end %>
<% @site_in_use_locales.each do |locale| %>
<%= link_to t(:_locale, :locale => locale), add_locale(remove_locale((request.referer rescue request.fullpath)), locale), {"data-role" => "button", "data-theme" => "b", "data-shadow" => "true"} %>
<% end %>