2011-12-23 10:02:45 +00:00
|
|
|
<div class="main2">
|
2011-04-13 10:19:51 +00:00
|
|
|
<%= 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 %>
|
|
|
|
|
2012-04-26 11:38:16 +00:00
|
|
|
<% if @info_i18n_variables.size > 0 %>
|
2011-02-01 07:12:23 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend>
|
|
|
|
<%= t('admin.user_info') %>
|
|
|
|
<%#= render :partial => 'action_bar' %>
|
|
|
|
</legend>
|
2012-04-26 11:38:16 +00:00
|
|
|
<div><%= render :partial => 'edit_user_attribute_model', :collection => @info_i18n_variables %></div>
|
2011-02-01 07:12:23 +00:00
|
|
|
</fieldset>
|
|
|
|
<% end %>
|
|
|
|
|
2012-04-26 11:38:16 +00:00
|
|
|
<% if @role_i18n_variables.size > 0 %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<fieldset>
|
|
|
|
<legend>
|
2011-02-01 02:46:26 +00:00
|
|
|
<%= t('admin.user_role') %>
|
2011-04-13 10:19:51 +00:00
|
|
|
<%#= render :partial => 'action_bar' %>
|
|
|
|
</legend>
|
2012-04-26 11:38:16 +00:00
|
|
|
<div><%= render :partial => 'edit_user_attribute_model', :collection => @role_i18n_variables %></div>
|
2011-04-13 10:19:51 +00:00
|
|
|
</fieldset>
|
|
|
|
<% end %>
|
|
|
|
|
2011-12-23 10:02:45 +00:00
|
|
|
<div class="button_bar">
|
|
|
|
<%= link_back %>
|
|
|
|
<%= submit_tag t('update') %>
|
|
|
|
</div>
|
2011-04-13 10:19:51 +00:00
|
|
|
|
|
|
|
<% end %>
|
2011-12-23 10:02:45 +00:00
|
|
|
</div>
|