<%= t('admin.key') %> | <% @site_valid_locales.each do |locale| %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %> | <% end %>
<%= sub_role.new_record? ? (f.text_field :key, {:style => "width:150px"}) : sub_role.key %> | <%= f.fields_for :i18n_variable, (sub_role.new_record? ? sub_role.build_i18n_variable : sub_role.i18n_variable) do |f| %> <% @site_valid_locales.each do |locale| %><%= f.text_field locale, :style => "width:150px" %> | <% end %> <% end %>
<%= t('admin.key') %> | <%= t('admin.multilingual') %> | <% @site_valid_locales.each do |locale| %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %> | <% end %><%= t('admin.type')%> | ||
<%= hidden_field_tag 'attribute_field_count', sub_role.attribute_fields.count %>
<%= t(:add) %>
<%= hidden_field_tag 'sub_role_temp_id', (i rescue 'new_sub_roles') %>
|