title: Rails, how do you submit a form with a text link?
body: <p>I am trying to get this form to submit correctly. Here's what I have so far:</p>
  
  <pre><code>&lt;% form_for(:user, :url =&gt; update_user_setting_path, :remote =&gt; true, :html =&gt; {:method =&gt; :post, :class =&gt; "search_form general_form"}) do |f| %&gt; 
  </code></pre>
  
  <p>and the button renders with this code:</p>
  
  <pre><code>&lt;li&gt;&lt;%= link_to raw("&lt;span class='button approve'&gt;&lt;span&gt;&lt;span&gt;SAVE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;"), :action =&gt; 'create' %&gt;&lt;/li&gt;
  </code></pre>
  
  <p>I am using action create, is this correct? </p>
  
  <p>Here is the rendered form tag:</p>
  
  <pre><code>&lt;form method="post" data-remote="true" class="search_form general_form" action="/settings/2/update_user" accept-charset="UTF-8"&gt;
  </code></pre>
  
  <p>What am I missing? Thanks for your help!</p>