Hello!
I am writing a small application using Rails 3. In one part of it there is a link (should be a link) that if clicked adds a connection between two people (see below).
What I am really needing is to use a normal text link instead of a form, how is this done?
<%= form_for([@profile, @contact]) do |f| %>
<p><%= f.hidden_field :profile_id, :value => params[:profile_id] %></p>
<p><%= f.hidden_field :friend_id, :value => profile.id %></p>
<p><%= f.submit %></p>
<% end %>