summaryrefslogtreecommitdiffstats
path: root/app/views/boards/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/boards/show.html.erb')
-rw-r--r--app/views/boards/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/boards/show.html.erb b/app/views/boards/show.html.erb
index 6441c5ce3..523dfea45 100644
--- a/app/views/boards/show.html.erb
+++ b/app/views/boards/show.html.erb
@@ -11,7 +11,7 @@
<div id="add-message" style="display:none;">
<% if authorize_for('messages', 'new') %>
<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> &#187; <%= l(:label_message_new) %></h2>
-<% form_for :message, @message, :url => {:controller => 'messages', :action => 'new', :board_id => @board}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
+<%= form_for @message, :url => {:controller => 'messages', :action => 'new', :board_id => @board}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
<%= render :partial => 'messages/form', :locals => {:f => f} %>
<p><%= submit_tag l(:button_create) %>
<%= link_to_remote l(:label_preview),