<%= t('admin.key') %> | <% @site_valid_locales.each do |locale| %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %> | <% end %>
<%= is_new ? (f.text_field :key, {:style => "width:150px"}) : @attribute.key %> | <%= f.fields_for :title_translations do |f| %> <% @site_valid_locales.each do |locale| %><%= f.text_field locale, :style => "width:150px", :value => (@attribute.title_translations[locale] rescue nil) %> | <% end %> <% end %>
<%= t('admin.key') %> | <%= t('admin.cross_lang') %> | <% @site_valid_locales.each do |locale| %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %> | <% end %><%= t('admin.type')%> | ||
<%= hidden_field_tag 'attribute_field_count', @attribute.attribute_fields.count %> <%= t(:add) %> |