orbit-basic/app/views/mobile/dialog_language.mobile.erb

7 lines
334 B
Plaintext
Raw Permalink Normal View History

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