diff options
Diffstat (limited to 'app/views/news/index.html.erb')
-rw-r--r-- | app/views/news/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb index b839b5f44..b354adcb8 100644 --- a/app/views/news/index.html.erb +++ b/app/views/news/index.html.erb @@ -7,7 +7,7 @@ <div id="add-news" style="display:none;"> <h2><%=l(:label_news_new)%></h2> -<% labelled_form_for @news, :url => project_news_index_path(@project), +<%= labelled_form_for @news, :url => project_news_index_path(@project), :html => { :id => 'news-form', :multipart => true } do |f| %> <%= render :partial => 'news/form', :locals => { :f => f } %> <%= submit_tag l(:button_create) %> |