comparison app/views/projects/.svn/text-base/add_file.rhtml.svn-base @ 0:513646585e45

* Import Redmine trunk SVN rev 3859
author Chris Cannam
date Fri, 23 Jul 2010 15:52:44 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:513646585e45
1 <h2><%=l(:label_attachment_new)%></h2>
2
3 <%= error_messages_for 'attachment' %>
4 <div class="box">
5 <% form_tag({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") do %>
6
7 <% if @versions.any? %>
8 <p><label for="version_id"><%=l(:field_version)%></label>
9 <%= select_tag "version_id", content_tag('option', '') +
10 options_from_collection_for_select(@versions, "id", "name") %></p>
11 <% end %>
12
13 <p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
14 </div>
15 <%= submit_tag l(:button_add) %>
16 <% end %>