% @site_in_use_locales.each_with_index do |locale, i| %>
<%= f.fields_for :title_translations do |f| %>
<%= f.text_field locale, placeholder: t(:title), value: (@location.title_translations[locale] rescue nil) %>
<% end %>
<% end %>
<%= f.submit t(:submit), :class => "hide" %>
<% if params[:page].present? %>
<% end %>