Sha256: 5cce63317047e2e1a0ceb8f008a1e2bb5a85bec2c32c7e0827a2ee39f01ed188

Contents?: true

Size: 392 Bytes

Versions: 6

Compression:

Stored size: 392 Bytes

Contents

<div class="button_with_label">
  <%= form_tag switch_language_admin_pages_path, method: 'get' do %>
    <%= select_tag(
      'language_id',
      options_for_select(@languages.map { |l| [l.name, l.id] }, Alchemy::Language.current.id),
      class: 'alchemy_selectbox short',
      data: {'auto-submit' => true}
    ) %>
  <% end %>
  <label><%= Alchemy.t("Language tree") %></label>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-3.3.3 app/views/alchemy/admin/partials/_language_tree_select.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/partials/_language_tree_select.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/partials/_language_tree_select.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/partials/_language_tree_select.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/partials/_language_tree_select.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/partials/_language_tree_select.html.erb