mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
18 lines
668 B
Plaintext
18 lines
668 B
Plaintext
<h2><%=l(:label_news)%></h2>
|
|
|
|
<% labelled_form_for @news, :html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>
|
|
<%= render :partial => 'form', :locals => { :f => f } %>
|
|
<%= submit_tag l(:button_save) %>
|
|
<%= link_to_remote l(:label_preview),
|
|
{ :url => preview_news_path(:project_id => @project),
|
|
:method => 'get',
|
|
:update => 'preview',
|
|
:with => "Form.serialize('news-form')"
|
|
}, :accesskey => accesskey(:preview) %>
|
|
<% end %>
|
|
<div id="preview" class="wiki"></div>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= stylesheet_link_tag 'scm' %>
|
|
<% end %>
|