2007-05-13 21:09:56 +04:00
|
|
|
<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%= l(:label_message_new) %></h2>
|
|
|
|
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
2007-05-13 21:09:56 +04:00
|
|
|
<%= render :partial => 'form', :locals => {:f => f} %>
|
|
|
|
<%= submit_tag l(:button_create) %>
|
2012-07-18 21:47:19 +04:00
|
|
|
<%= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board}, 'message-form') %>
|
2007-05-13 21:09:56 +04:00
|
|
|
<% end %>
|
2008-03-07 20:49:44 +03:00
|
|
|
|
|
|
|
<div id="preview" class="wiki"></div>
|