2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_attachment_new)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= error_messages_for 'attachment' %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= start_form_tag ({ :action => 'add_file', :project => @project }, :multipart => true) %>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><label for="version_id"><%=l(:field_version)%></label><br />
|
2006-06-28 22:11:03 +04:00
|
|
|
<select name="version_id">
|
|
|
|
<%= options_from_collection_for_select @versions, "id", "name" %>
|
|
|
|
</select></p>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<p><b><%=l(:label_attachment)%><b><br /><%= file_field 'attachment', 'file' %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
<br/>
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= submit_tag l(:button_add) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<%= end_form_tag %>
|