<%= t("universal_table.table_name") %> - <%= @table.title %>

<% @site_in_use_locales.each do |locale| %> <% active = (locale == @site_in_use_locales.first ? "active in" : "") %>
<%= f.fields_for :title_translations do |f| %> <%= f.text_field locale, :placeholder => "Title", :value => @mind_map.title_translations[locale] %> <% end %>
<% end %>
<% @site_in_use_locales.each do |locale| %> <% active = (locale == @site_in_use_locales.first ? "active" : "") %> <%= link_to t(locale).to_s,"#mind_map_#{locale.to_s}",:class=>"btn #{active}",:data=>{:toggle=>"tab"}%> <% end %>

<%= t("universal_table.mind_map") %>

<%= f.hidden_field :mind_map_data, id: "mind_map_data_field", value: "[]" %> <%= f.hidden_field :u_table_id, value: @table.id %> ">