app/views/alchemy/admin/pages/index.html.erb in alchemy_cms-2.1.beta5 vs app/views/alchemy/admin/pages/index.html.erb in alchemy_cms-2.1.beta6

- old
+ new

@@ -18,23 +18,10 @@ <%- end -%> <%- end -%> <%- content_for :toolbar do -%> <div id="toolbar_buttons"> - <div class="button_with_label"> - <%= select_tag( - 'language', - options_for_select(@languages.map { |l| [l.name, l.id] }, session[:language_id]), - :onchange => %( - Alchemy.pleaseWaitOverlay(); - jQuery.get('/admin/pages/switch_language', { - language_id: this.value - }); - ), - :class => 'short' - ) %> - <label><%= t("Language tree") %></label> - </div> + <%= render :partial => 'alchemy/admin/partials/language_tree_select' %> <%- permitted_to?(:flush, :alchemy_admin_pages) do -%> <div class="button_with_label"> <%= link_to( render_icon('flush'), alchemy.flush_admin_pages_path,