Is this correct:

Cutting Peter
Tue, 15 Feb 2005 17:28:34 -0000

Hi

While adding functionality to my noddy program I found I had to stick
the user.id on the end of the form action URL to keep things working. I
want to have the user.id on the end of the URL but I suspect that I am
hacking it and that there is a better way.

Below is the whole email_user.rhtml file





<form action="../send_email/<%= @user.id %>"
method="post">



Name: <%= @user.name %>



 <textarea cols="40" id="message"

            name="message"

            rows="5" wrap="virtual">

<%= @message %>





<%= link_to ''Back'', :action => ''list''
%>







Bonus question - anyone know how to put the cursor in the textarea so
that the user can start typing immediately.

Thanks

Peter



_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org