mirror of
https://github.com/redmine/redmine.git
synced 2024-08-18 02:12:06 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 lines
583 B
Plaintext
17 lines
583 B
Plaintext
<h2><%=l(:label_attachment_new)%></h2>
|
|
|
|
<%= error_messages_for 'attachment' %>
|
|
<%= form_tag(project_files_path(@project), :multipart => true, :class => "tabular") do %>
|
|
<div class="box">
|
|
|
|
<% if @versions.any? %>
|
|
<p><label for="version_id"><%=l(:field_version)%></label>
|
|
<%= select_tag "version_id", content_tag('option', '') +
|
|
options_from_collection_for_select(@versions, "id", "name") %></p>
|
|
<% end %>
|
|
|
|
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
|
|
</div>
|
|
<%= submit_tag l(:button_add) %>
|
|
<% end %>
|