Displaying 1 result from an estimated 1 matches for "comment_messag".
Did you mean:
comment_message
2006 Jan 17
4
textarea problem with accentued chars
...omment][:message][0]
@var3 = params[:comment][:message].inspect
hash = { :name => params[:comment][:message] }
obj = Color.new( hash )
obj.save
end
end
index.rhtml :
------------
<%= start_form_tag :action => ''post'' %>
<p><label for="comment_message">Message</label><br/>
<%= text_area "comment" , "message" %></p>
<%= submit_tag "Post" %>
<%= end_form_tag %>
post.rhtml :
-----------
<p><%= @var1 %></p>
<p><%= @var2 %></p>
<p&g...