Sha256: 209dc2471df3b19f29dc007a98ef54740cc6cffb87c8ab1829ce50a1fa31e024
Contents?: true
Size: 628 Bytes
Versions: 16
Compression:
Stored size: 628 Bytes
Contents
<% languages = Alchemy::Language.on_current_site %> <% if can?(:switch_language, Alchemy::Page) && languages.many? %> <div class="toolbar_button"> <sl-tooltip content="<%= Alchemy.t("Language tree") %>"> <%= form_tag switch_admin_languages_path, method: 'get' do %> <%= select_tag( 'language_id', options_for_select( languages.map { |l| [l.name, l.id] }, Alchemy::Language.current.id ), class: 'short', is: 'alchemy-select', data: {'auto-submit' => true} ) %> <% end %> </sl-tooltip> </div> <div class="toolbar_spacer"></div> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems