<%= t("admin.user_#{@attribute_type}") %>

<% @site_valid_locales.each do |locale| %> <% end %> <% @site_valid_locales.each do |locale| %> <% end %>
<%= t('admin.key') %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %>
<%= is_new ? (f.text_field :key, {:style => "width:150px"}) : @attribute.key %> <%= text_field_tag "user_#{@attribute_type}_model[i18n_variable][#{locale}]", (@i18n_variable[locale] if @i18n_variable), :style => "width:150px" %>

Attributes

<% @site_valid_locales.each do |locale| %> <% end %> <%= render :partial => 'admin/attributes/attribute_model', :collection => @attribute.attribute_models %>
<%= t('admin.key') %> <%= t('admin.multilingual') %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %><%= t('admin.type')%>  
<%= t(:add) %>
<% content_for :page_specific_javascript do %> <%= javascript_include_tag "attribute_form" %> <% end -%>