<%= info.title %>


<% @site_valid_locales.each do |locale| %> <% end %> <% info.get_enabled_attribute_fields.each do |attr| %> <%= f.fields_for :attribute_values, @user.get_value_from_field_id(attr.id) do |f| %> <% if attr["locale"] && attr["markup"] == 'text_field' %> <% @site_valid_locales.each do |locale| %> <% end %> <% else %> <% end -%> <%= f.hidden_field :attribute_field_id, :value => attr.id %> <%= f.hidden_field :key, :value => attr.key %> <% end %> <% end %>
<%= t(:key) %><%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %>
<%= attr.title %><%= f.text_field locale %>> <% if attr["markup"] == "text_field" %> <%= f.text_field :non_locale %> <% elsif attr["markup"] == "select" %> <%= f.select :non_locale, options_for_select(attr["options"], value['non_locale']) %> <% end -%>