% # encoding: utf-8 %>
<%= form_for(@set_level_type, remote: true, url: @level_type_url) do |f| %>
<%= f.text_field :key %>
<%= f.fields_for :title_translations do |f| %>
<% @site_in_use_locales.each do |locale| %>
<%= label_tag "link-#{locale}", "Name-#{t(locale).to_s}", :class => 'control-label' %>
<%= f.text_field locale, :class => 'control-label', :value => (@set_level_type.title_translations[locale] rescue nil) %>
<% end %>
<% end %>
<% end %>