summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-01 15:17:45 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-01 15:17:45 +0000
commitb5e90972d88c69a1ef2c9e90879e8926d192acff (patch)
tree9370cd677e484caf9ec4576d5e8f5ffcd04aab1f /app/views/projects
parentdaa8eaa9aebcc284e2904d1258cbfdd78ea23876 (diff)
downloadredmine-b5e90972d88c69a1ef2c9e90879e8926d192acff.tar.gz
redmine-b5e90972d88c69a1ef2c9e90879e8926d192acff.zip
Refactor: move method, ProjectsController#add_file to FilesController#new.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4052 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/add_file.rhtml16
1 files changed, 0 insertions, 16 deletions
diff --git a/app/views/projects/add_file.rhtml b/app/views/projects/add_file.rhtml
deleted file mode 100644
index ab9c7352d..000000000
--- a/app/views/projects/add_file.rhtml
+++ /dev/null
@@ -1,16 +0,0 @@
-<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 %>