<% @site_valid_locales.each_with_index do |locale, i| %>
">
<%= f.label :title , t('asset.title'), :class=>"control-label muted" %>
<%= f.fields_for :title_translations do |f| %> <%= f.text_field locale, :class=>'post-title', :value => (@asset.title_translations[locale] rescue nil) %> <% end %>
<%= f.label :description ,t('asset.description'), :class => "control-label muted" %> <%= f.fields_for :description_translations do |f| %>
<%= f.text_area locale, :style=>"width:100%;height:100px", :class => '', :value => (@asset.description_translations[locale] rescue nil) %>
<% end %>
<% end %>
<% @tags.each do |tag| %> <% end %>
<%= f.file_field :data, :class => 'upload' %>