##// END OF EJS Templates
ProjectsController#add_news moved to NewsController#new....
ProjectsController#add_news moved to NewsController#new. Preview added when adding/editing a news (#590). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1111 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r998:8e00f57a886a
r1097:1ecef3a95ae0
Show More
new.rhtml
13 lines | 339 B | text/html+ruby | RhtmlLexer
<h2><%=l(:label_document_new)%></h2>
<% form_tag({:controller => 'documents', :action => 'new', :project_id => @project}, :class => "tabular", :multipart => true) do %>
<%= render :partial => 'documents/form' %>
<div class="box">
<%= render :partial => 'common/attachments_form'%>
</div>
<%= submit_tag l(:button_create) %>
<% end %>