<% form_tag({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") do %>
<%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %>
<%= file_field_tag 'attachments[]', :size => 30 %> (<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
<%= submit_tag l(:button_add) %>
<% end %>