summaryrefslogtreecommitdiffstats
path: root/app/views/news/index.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-29 22:39:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-29 22:39:06 +0000
commit24138187eb130b15d5b2b9f7bd6f701b2be6c00a (patch)
tree472ca1d96d538420fc537b743c5ac3b925723044 /app/views/news/index.html.erb
parent992aebf6dfe9ca92d43e1022102f5c888631a6f4 (diff)
downloadredmine-24138187eb130b15d5b2b9f7bd6f701b2be6c00a.tar.gz
redmine-24138187eb130b15d5b2b9f7bd6f701b2be6c00a.zip
Allows attachments on news (#1972).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news/index.html.erb')
-rw-r--r--app/views/news/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb
index 4d13d3a32..d0370c03f 100644
--- a/app/views/news/index.html.erb
+++ b/app/views/news/index.html.erb
@@ -8,7 +8,7 @@
<div id="add-news" style="display:none;">
<h2><%=l(:label_news_new)%></h2>
<% labelled_form_for @news, :url => project_news_index_path(@project),
- :html => { :id => 'news-form' } do |f| %>
+ :html => { :id => 'news-form', :multipart => true } do |f| %>
<%= render :partial => 'news/form', :locals => { :f => f } %>
<%= submit_tag l(:button_create) %>
<%= link_to_remote l(:label_preview),