title: make rails link as bootstrap button
body: <p>I have anchor links in rails like this.</p>
  
  <pre><code>&lt;%= link_to 'Edit', edit_product_path(@product) %&gt; |
  &lt;%= link_to 'Back', products_path %&gt;
  </code></pre>
  
  <p>I want to have them as a button and I want to use bootstrap button.</p>
  
  <p>Here's how I am trying to achieve it.</p>
  
  <pre><code>&lt;div class="btn btn-primary"&gt;
    &lt;%= link_to 'Edit', edit_product_path(@product) :class =&gt; "btn" %&gt; |
    &lt;%= link_to 'Back', products_path :class =&gt; "btn"%&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>But this is not working for some reason.</p>
  
  <p>What's wrong here?</p>