Help: link_to with :post => true


#1

I’m having trouble getting anything in the params hash when I do:

<%= form_tag(:action => ‘edit’) %>

* Email: <%= text_field_tag('member[email]') %>
<%= 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
button?

Thanks