<%= 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 :i18n_variable, (@attribute.new_record? ? @attribute.build_i18n_variable : @attribute.i18n_variable) do |f| %> <% @site_valid_locales.each do |locale| %><%= f.text_field locale, :style => "width:150px" %> | <% end %> <% end %>