<div class="main2">
<%= form_tag admin_translation_path('all'), :method => :put do %>
  <% if @language_i18n_variables.size > 0 %>
    <fieldset>
      <legend>
        <%= t('admin.language') %>
        <%#= render :partial => 'action_bar' %>
      </legend> 
      <div><%= render :partial => 'edit_language' %></div>
    </fieldset>
  <% end %>

  <% if @info_i18n_variables.size > 0 %>
    <fieldset>
      <legend>
        <%= t('admin.user_info') %>
        <%#= render :partial => 'action_bar' %>
      </legend> 
      <div><%= render :partial => 'edit_user_attribute_model', :collection => @info_i18n_variables %></div>
    </fieldset>
  <% end %>

  <% if @role_i18n_variables.size > 0 %>
    <fieldset>
      <legend>
        <%= t('admin.user_role') %>
        <%#= render :partial => 'action_bar' %>
      </legend> 
      <div><%= render :partial => 'edit_user_attribute_model', :collection => @role_i18n_variables %></div>
    </fieldset>
  <% end %>
  
	<div class="button_bar">
		<%= link_back %>
		<%= submit_tag t('update')  %>
	</div>
  
<% end %>
</div>