<% @site_in_use_locales.each do |locale| %>
<%= f.fields_for :title_translations do |f| %>
<%= f.label :title.to_s + " (" + locale.to_s + ")", :class => "control-label muted" %>
<%= f.text_field locale, placeholder: t("space.building_name"), :value => @building.title_translations[locale.to_s] %>
<% end %>
<% end %>
<%= select_category(f, ModuleApp.find_by_key("space")) %>
<% if @building.image.file %>
<%= image_tag @building.image %>
<% else %>
<% end %>
<%= t(:select_image) %>
<%= t(:change) %>
<%= f.file_field :image %>
<%= t(:cancel) %>