2008-02-03 17:38:04 +03:00
|
|
|
<h2><%=l(:label_news_new)%></h2>
|
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= labelled_form_for @news, :url => project_news_index_path(@project),
|
2012-01-30 02:39:06 +04:00
|
|
|
:html => { :id => 'news-form', :multipart => true } do |f| %>
|
2012-01-10 09:13:19 +04:00
|
|
|
<%= render :partial => 'news/form', :locals => { :f => f } %>
|
|
|
|
<%= submit_tag l(:button_create) %>
|
2012-07-18 21:47:19 +04:00
|
|
|
<%= preview_link preview_news_path(:project_id => @project), 'news-form' %>
|
2008-02-03 17:38:04 +03:00
|
|
|
<% end %>
|
|
|
|
<div id="preview" class="wiki"></div>
|