diff options
Diffstat (limited to 'app/views/messages/show.html.erb')
-rw-r--r-- | app/views/messages/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/messages/show.html.erb b/app/views/messages/show.html.erb index 9edc8451f..d0857cf46 100644 --- a/app/views/messages/show.html.erb +++ b/app/views/messages/show.html.erb @@ -72,7 +72,7 @@ <% if !@topic.locked? && authorize_for('messages', 'reply') %> <p><%= toggle_link l(:button_reply), "reply", :focus => 'message_content' %></p> <div id="reply" style="display:none;"> -<% form_for :reply, @reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message-form'} do |f| %> +<%= form_for @reply, :as => :reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message-form'} do |f| %> <%= render :partial => 'form', :locals => {:f => f, :replying => true} %> <%= submit_tag l(:button_submit) %> <%= link_to_remote l(:label_preview), |