<%=l(:label_attachment_new)%>

<%= error_messages_for 'attachment' %>
<%= start_form_tag ({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") %>

<%= select_tag "version_id", options_from_collection_for_select(@versions, "id", "name") %>

<%= file_field_tag 'attachments[]', :size => 30 %> (<%= l(:label_max_size) %>: <%= human_size(Setting.attachment_max_size.to_i.kilobytes) %>)

<%= submit_tag l(:button_add) %> <%= end_form_tag %>