# Savage Beast plugin: Question on the reply form

**URL:** <https://www.ruby-forum.com/t/savage-beast-plugin-question-on-the-reply-form/113870>\
**Category:** Rails\
**Created:** [September 5, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/savage-beast-plugin-question-on-the-reply-form/113870 "2007-09-05T20:09:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LAB](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ba8739/32.png) [@LAB](https://www.ruby-forum.com/u/LAB)\
**Post date:** [September 5, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/savage-beast-plugin-question-on-the-reply-form/113870/1 "2007-09-05T20:09:52Z")

</div>

Hello! I have integrated the Savage Beast plugin with my site. For  
some reason, during the integration, the standard large black reply  
form that gets displayed when a user hits “Reply to topic”, is  
_always_ getting displayed at the bottom of the screen … before the  
user hits “Reply to topic”. The built in “cancel” link on the editbox  
will not remove the form, and neither will “Saving a Reply”. The code  
looks like this …

 \<%= content\_tag 'p', h(flash[:bad\_reply]), :class =\> 'notice' if flash[:bad\_reply] %\> \<% form\_for :post, :url =\> posts\_path(:forum\_id =\> @forum, :topic\_id =\> @topic, :page =\> @topic.last\_page) do |f| -%\> 

| \<%= f.text\_area :body, :rows =\> 8 %\> |
| \<%= submit\_tag \_("Save Reply") %\>or \<%= link\_to\_function \_('cancel'), "$('reply').hide()" %\> |

 \<% end -%\>

\<%= javascript\_tag "$('reply').hide();"%\> \<% end %\> \<% end %\>

I would think \<%= javascript\_tag “$(‘reply’).hide();”%\> would hide the  
reply form after the Save or Cancel action. Does anyone have any  
ideas? I want the reply form to be hidden until the user actually  
hits “Reply to Topic” and then I also want it to go away when the user  
cancels or Saves a reply.

Thanks in advance!!!

LAB
