% content_for :secondary do %>
<%= link_to t(:edit), edit_admin_translation_path('all'), :class => 'button positive' %>
<%= t('admin.add_language') %>:
<%= form_tag admin_translation_path('add'), :method => :put do %>
<%= text_field_tag 'language', '', :style => "width:100px" %>
<%= submit_tag t(:add) %>
<% end %>
<%= t('admin.enable_language') %>:
<%= form_tag admin_translation_path('enable'), :method => :put do %>
<%= select_tag 'enable_language', options_for_select(@site_valid_locales - @site_in_use_locales), :style => "width:100px" %>
<%= submit_tag t(:enable) %>
<% end %>
<%= t('admin.disable_language') %>:
<%= form_tag admin_translation_path('disable'), :method => :put do %>
<%= select_tag 'disable_language', options_for_select(@site_in_use_locales), :style => "width:100px" %>
<%= submit_tag t(:disable) %>
<% end %>
<%= t('admin.delete_language') %>:
<%= form_tag admin_translation_path('delete'), :method => :put do %>
<%= select_tag 'delete_language', options_for_select(@site_valid_locales), :style => "width:100px" %>
<%= submit_tag t(:delete), :confirm => t('sure?') %>
<% end %>
<% end -%>
<% if @language_i18n_variables.size > 0 %>
<%= t('admin.language') %>
<%#= render :partial => 'action_bar' %>
<%= render :partial => 'language' %>
<% end %>
<% if @user_role_model_i18n_variables.size > 0 %>
<%= t('admin.user_role') %>
<%#= render :partial => 'action_bar' %>
<%= render :partial => 'user_role_model', :collection => @user_role_model_i18n_variables %>
<% end %>
<% content_for :page_specific_javascript do %>
<% end -%>