<% @site_in_use_locales.each_with_index do |locale, i| %>
<%= f.fields_for :title_translations do |con| %>
<%= label_tag(locale, t(:title), :class=>"control-label muted") %>
<%= con.text_field locale, :class => "input-block-level", :value => (@wiki.title_translations[locale] rescue nil)%>
<% end %>
<%= label_tag(locale, t("page_content.wiki_pages"), :class=>"control-label muted") %>
<%= select_tag "wikis[#{locale.to_s}]", options_for_select(@options[locale.to_s]), {:prompt => "----Select a WIKI----"} %>
Create
" >Insert
<%= f.fields_for :content_translations do |con| %>
<%= label_tag(locale, t(:content), :class=>"control-label muted") %>
<%= con.text_area locale, :class => "ckeditor input-block-level", :value => (@wiki.content_translations[locale] rescue nil)%>
<% end %>
<% end %>