@@ -1,14 +1,18 | |||
|
1 | <h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%=h @message.subject %></h2> | |
|
1 | <h2><%= link_to h(@board.name), :controller => 'boards', | |
|
2 | :action => 'show', :project_id => @project, | |
|
3 | :id => @board %> » <%= h @message.subject %></h2> | |
|
2 | 4 | |
|
3 | 5 | <% form_for :message, @message, |
|
4 | 6 | :url => {:action => 'edit'}, |
|
5 | 7 | :html => {:multipart => true, |
|
6 | 8 | :id => 'message-form', |
|
7 | 9 | :method => :post} do |f| %> |
|
8 | <%= render :partial => 'form', :locals => {:f => f, :replying => !@message.parent.nil?} %> | |
|
10 | <%= render :partial => 'form', | |
|
11 | :locals => {:f => f, :replying => !@message.parent.nil?} %> | |
|
9 | 12 | <%= submit_tag l(:button_save) %> |
|
10 | 13 | <%= link_to_remote l(:label_preview), |
|
11 |
{ :url => { :controller => 'messages', |
|
|
14 | { :url => { :controller => 'messages', | |
|
15 | :action => 'preview', :board_id => @board }, | |
|
12 | 16 | :method => 'post', |
|
13 | 17 | :update => 'preview', |
|
14 | 18 | :with => "Form.serialize('message-form')", |
General Comments 0
You need to be logged in to leave comments.
Login now