Forum: Ruby on Rails help: link_to with :post => true

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ef0db53920b243d6758c2f6b1306df0d?d=identicon&s=25 Steve Ross (cwd)
on 2006-02-14 01:33
I'm having trouble getting anything in the params hash when I do:

<%= form_tag(:action => 'edit') %>
<table border="0" id="detailtable">
<tr>
	<td>* Email:</td><td><%= text_field_tag('member[email]') %></td>
</tr>
<tr>
	<td colspan="2" />
</tr>
<tr>
	<td /><td><%= link_to('Find my information.', {}, :post => true)
%></td>
</table>
<%= end_form_tag %>

I tried a different variant with :onclick => 'submit(); return false;'
and had the same results.

What's the best way to post a form with a link instead of a blobby
button?

Thanks
This topic is locked and can not be replied to.