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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Steve R. (Guest)
on 2006-02-14 02:33
I'm having trouble getting anything in the params hash when I do:

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

This topic is locked and can not be replied to.