Sha256: 791f1f90834f939113ae9ab6a5d7cda60aff9d2d8bd53942809e720930b58061

Contents?: true

Size: 565 Bytes

Versions: 11

Compression:

Stored size: 565 Bytes

Contents

<input type='hidden' name='switch_locale' id='switch_locale' value='<%%= local_assigns[:current_locale] %>' />
<%% if (locales ||= Refinery::I18n.frontend_locales).present? and locales.many? %>
  <ul id='switch_locale_picker' class='clearfix'>
    <%% locales.each do |locale| %>
      <li<%%= " class='selected'" if locale.to_s == local_assigns[:current_locale].to_s %>>
        <%%= link_to refinery_icon_tag("flags/#{locale}.png", :size => "32x22"),
                    refinery.url_for(:switch_locale => locale) %>
      </li>
    <%% end %>
  </ul>
<%% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-2.0.10 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.9 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.8 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.7 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.6 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.5 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.4 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.3 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.2 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.1 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb
refinerycms-core-2.0.0 lib/generators/refinery/engine/templates/app/views/refinery/namespace/admin/plural_name/_locale_picker.html.erb