<% # encoding: utf-8 %> " class='list_item'>
<%= f.file_field :file %> <%= form_file.file.file ? ( link_to t(:view), form_file.file.url, {:class => 'btn', :target => '_blank', :title => t(:view)} ) : '' %>
<% @site_valid_locales.each_with_index do |locale, i| %>
"> <%#= f.fields_for :i18n_variable, (form_file.new_record? ? form_file.build_i18n_variable : form_file.i18n_variable ) do |f| %> <%= f.fields_for :file_title_translations do |f| %>
<%= f.text_field locale, :class=>'post-file_title', :value => (form_file.file_title_translations[locale] rescue nil) %>
<% end %>
<% end %>
<% if form_file.new_record? %> <% else %> <%= f.hidden_field :id %> <%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %> <% end %>