" class="list_item">
<%= f.file_field :file, class: "s_grid_1 s_grid" %>
<%= form_file.file.file ? ( link_to t(:view), form_file.file.url, {:class => 'btn s_grid_1 s_grid', :target => '_blank', :title => t(:view)} ) : '' %>
|
<%= f.text_field :title, :class=>'s_grid_1 s_grid' %>
|
<% if form_file.new_record? %>
<% else %>
<%= f.hidden_field :id %>
<%= f.hidden_field :should_destroy, :value => nil, :class => 'should_destroy' %>
<% end %>
|