##// 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:

r97:918123cd0663
r1097:1ecef3a95ae0
Show More
new.rhtml
7 lines | 326 B | text/html+ruby | RhtmlLexer
<h2><%=l(:label_custom_field_new)%> (<%=l(@custom_field.type_name)%>)</h2>
<% labelled_tabular_form_for :custom_field, @custom_field, :url => { :action => "new" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
<%= hidden_field_tag 'type', @custom_field.type %>
<%= submit_tag l(:button_save) %>
<% end %>