<%= 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 %>