@@ -1,16 +1,16 | |||
|
1 | 1 | <h2><%=l(:label_attachment_new)%></h2> |
|
2 | 2 | |
|
3 | 3 | <%= error_messages_for 'attachment' %> |
|
4 | 4 | <div class="box"> |
|
5 | 5 | <% form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %> |
|
6 | 6 | |
|
7 | 7 | <% if @versions.any? %> |
|
8 | 8 | <p><label for="version_id"><%=l(:field_version)%></label> |
|
9 | 9 | <%= select_tag "version_id", content_tag('option', '') + |
|
10 | 10 | options_from_collection_for_select(@versions, "id", "name") %></p> |
|
11 | 11 | <% end %> |
|
12 | 12 | |
|
13 | 13 | <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> |
|
14 | 14 | </div> |
|
15 | 15 | <%= submit_tag l(:button_add) %> |
|
16 |
<% end %> |
|
|
16 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now