%= form_for(@course_semester, :html =>{:class=>"form-horizontal", :style=>"margin: 0;"}, :remote => true, :url => @url ) do |f| %>
<%= f.fields_for :title_translations do |f| %>
<% @site_in_use_locales.each do |locale| %>
<%= label_tag t(locale), t(locale), :class => 'control-label' %>
<%= f.text_field locale, :value => (@course_semester.title_translations[locale] rescue nil) %>
<% end %>
<% end %>
<% end %>