<%= f.fields_for :title_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<%= f.label :locale, "#{t(:title)} #{I18nVariable.from_locale(locale)}",:class=>"control-label" %>
<%= f.text_field locale, :value => (@part.title_translations[locale] rescue nil),:size=>30 %>
<% end %>
<% end %>
<%= f.select :module_app, options_from_collection_for_select(@module_apps, :id, :title, :selected => (@module_app.id rescue nil)), {:include_blank => true }, {:rel => admin_page_parts_path,:id=>"page_module_app_id"} %>
<%= render :partial => 'widget_setting' ,:locals=>{:f=>f,:object=>@part} %>