##// END OF EJS Templates
Backported r2429, r2430, r248 to r2491 and r2522 from trunk (request and controller objects added to the hooks by default.)....
Backported r2429, r2430, r248 to r2491 and r2522 from trunk (request and controller objects added to the hooks by default.). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2558 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1660:93201e7386eb
r2490:36b5d4f6af04
Show More
edit.rhtml
14 lines | 672 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Localization plugin removed (replaced with GLoc)...
r12 <h2><%=l(:label_news)%></h2>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
ProjectsController#add_news moved to NewsController#new....
r1097 <% labelled_tabular_form_for :news, @news, :url => { :action => "edit" },
:html => { :id => 'news-form' } do |f| %>
Jean-Philippe Lang
tables and forms redesign,...
r19 <%= render :partial => 'form', :locals => { :f => f } %>
<%= submit_tag l(:button_save) %>
Jean-Philippe Lang
ProjectsController#add_news moved to NewsController#new....
r1097 <%= link_to_remote l(:label_preview),
Jean-Philippe Lang
Fixed: Wiki Linking Fails on News Item Preview (#1661)....
r1660 { :url => { :controller => 'news', :action => 'preview', :project_id => @project },
Jean-Philippe Lang
ProjectsController#add_news moved to NewsController#new....
r1097 :method => 'post',
:update => 'preview',
:with => "Form.serialize('news-form')"
}, :accesskey => accesskey(:preview) %>
<% end %>
<div id="preview" class="wiki"></div>