diff --git a/app/views/files/_new.html.erb b/app/views/files/_new.html.erb
new file mode 100644
index 000000000..ac5dce466
--- /dev/null
+++ b/app/views/files/_new.html.erb
@@ -0,0 +1,17 @@
+
<%=l(:label_attachment_new)%>
+<% versions = project.versions.sort %>
+<%= error_messages_for 'attachment' %>
+<%= form_tag(project_files_path(project), :multipart => true, :class => "tabular") do %>
+
+
+<% if versions.any? %>
+
+<%= select_tag "version_id", content_tag('option', '') +
+ options_from_collection_for_select(versions, "id", "name") %>
+<% end %>
+
+
<%= render :partial => 'attachments/form' %>
+
+<%= submit_tag l(:button_add) %>
+<% end %>
+
\ No newline at end of file
diff --git a/app/views/files/index.html.erb b/app/views/files/index.html.erb
index 3012c0a21..769f85ce8 100644
--- a/app/views/files/index.html.erb
+++ b/app/views/files/index.html.erb
@@ -102,10 +102,10 @@ div.pagination{
border: 1px solid #15bccf;
box-shadow: 3px 3px 3px #666666;
}
-#relation_file_div{
+.relation_file_div{
margin: 0px 25px;
}
-#relation_file_div fieldset{
+.relation_file_div fieldset{
margin: 0px 25px;
border-radius: 5px;
}
@@ -118,10 +118,13 @@ div.pagination{
<%#= link_to(l(:label_attachment_new), 'javascript:void(0);', :onclick=>"$('#file_buttons').slideToggle();", :class => 'icon icon-add') if User.current.allowed_to?(:manage_files, @project) %>