diff options
Diffstat (limited to 'app/views/news/new.html.erb')
-rw-r--r-- | app/views/news/new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/new.html.erb b/app/views/news/new.html.erb index 1c55215b7..95a902432 100644 --- a/app/views/news/new.html.erb +++ b/app/views/news/new.html.erb @@ -1,6 +1,6 @@ <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) %> |