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.0 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 %>
<% 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>
<div><%= render :partial => 'edit_user_attribute_model', :collection => @info_i18n_variables %></div>
2011-02-01 07:12:23 +00:00
</fieldset>
<% end %>
<% if @role_i18n_variables.size > 0 %>
<fieldset>
<legend>
2011-02-01 02:46:26 +00:00
<%= 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>