orbit-basic/app/views/admin/translations/edit.html.erb

26 lines
722 B
Plaintext
Raw Normal View History

<%= 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 02:46:26 +00:00
<% if @user_role_role_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 02:46:26 +00:00
<div><%= render :partial => 'edit_user_role_model', :collection => @user_role_model_i18n_variables %></div>
</fieldset>
<% end %>
<%= submit_tag t('update') %> <%= link_back %>
<% end %>