summaryrefslogtreecommitdiffstats
path: root/app/views/messages/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/messages/new.html.erb')
-rw-r--r--app/views/messages/new.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb
index f41e27079..f1dddb6f5 100644
--- a/app/views/messages/new.html.erb
+++ b/app/views/messages/new.html.erb
@@ -1,6 +1,6 @@
<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 => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
+<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_create) %>
<%= link_to_remote l(:label_preview),