Hi to all,
I'd like to pass with a link to values inside some form. I've read in
other posts that it's possible if i include the forms inside a html
<div>...
So here it's my code of the view :
<div id="study">
<table>
<tr><td><label for="study_titolo">Titolo di
studio</label></td></tr>
<tr><td><label
for="study_istituto">Istituto</label></td><td><label
for="study_conseguito">Data di conseguimento</label></td><td><label
for="study_voto">Voto/giudizio</label></td></tr>
<tr><td><%= text_field 'study', 'istituto'%></td><td><%=
date_select 'study', 'conseguito', {:include_blank =>
true}%></td><td><%= text_field 'study', 'voto'%></td></tr>
</table>
</div>
<%=link_to "Aggiungi", { :controller => "studies", :action=> "create",
:id_nominee => @nominee.id, :study => @study}, :submit => 'study', :html
=> { :method => :post} %>
where in submit value of Link_to i've specified the div id.
When i click on link_to no forms values are passed....
Can somebody help me??????
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---