Mercurial > hg > soundsoftware-site
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/views/projects/.svn/text-base/add_file.rhtml.svn-base Fri Jul 23 15:52:44 2010 +0100 @@ -0,0 +1,16 @@ +<h2><%=l(:label_attachment_new)%></h2> + +<%= error_messages_for 'attachment' %> +<div class="box"> +<% form_tag({ :action => 'add_file', :id => @project }, :multipart => true, :class => "tabular") do %> + +<% 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 %>