This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/translations/edit.html.erb

39 lines
1.1 KiB
Plaintext
Raw Normal View History

<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 %>
2011-02-01 07:12:23 +00:00
<% if @user_info_model_i18n_variables.size > 0 %>
<fieldset>
<legend>
<%= t('admin.user_info') %>
<%#= render :partial => 'action_bar' %>
</legend>
<div><%= render :partial => 'edit_user_attribute_model', :collection => @user_info_model_i18n_variables %></div>
</fieldset>
<% end %>
<% if @user_role_model_i18n_variables.size > 0 %>
<fieldset>
<legend>
2011-02-01 02:46:26 +00:00
<%= t('admin.user_role') %>
<%#= render :partial => 'action_bar' %>
</legend>
2011-02-01 07:12:23 +00:00
<div><%= render :partial => 'edit_user_attribute_model', :collection => @user_role_model_i18n_variables %></div>
</fieldset>
<% end %>
<div class="button_bar">
<%= link_back %>
<%= submit_tag t('update') %>
</div>
<% end %>
</div>