aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/default.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/default.rhtml')
-rw-r--r--app/views/layouts/default.rhtml13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml
index 60699fe5c..92a0ce11f 100644
--- a/app/views/layouts/default.rhtml
+++ b/app/views/layouts/default.rhtml
@@ -87,18 +87,7 @@
<div id="tagline">
<%= _('Make and explore Freedom of Information requests') %>
</div>
- <% if FastGettext.default_available_locales.length > 1 %>
- <div id="user_locale_switcher">
- Language:
- <% for possible_locale in FastGettext.default_available_locales %>
- <% if possible_locale == I18n.locale.to_s %>
- <%= possible_locale %>
- <% else %>
- <a href="<%= locale_switcher(possible_locale, params) %>"><%= possible_locale %></a>
- <% end %>
- <% end %>
- </div>
- <% end %>
+ <%= render :partial => 'general/locale_switcher' %>
</div>
<div id="orglogo">