title: Ruby on Rails - link_to button / css
body: <p>Ok so I am teaching myself RoR while developing a simple api &amp; web interface.  I have been following a number of guides and testing out different outcomes.  I have mocked up some HTML templates and I am at the process where I am starting to strip them down into views.</p>
  
  <p>In my HTML i have the following code, which is a Button with CSS styling:</p>
  
  <pre><code> &lt;input type="submit" name="" value="Add" id="open-contacts-dialog-btn" class="inbox-sf-add-btn tip" title="Open an dialog to add a new contact"/&gt;  
  </code></pre>
  
  <p>This is my button in my panel that I would like to link to the <strong>/book/new/</strong>, I know i need a <strong>link_to</strong> in here but what would my final code be?  The code I have tried is as follows</p>
  
  <pre><code>&lt;%= link_to "Add", new_admin_course_path, :id=&gt;"open-contacts-dialog-btn", :class=&gt;"inbox-sf-add-btn tip" %&gt;
  </code></pre>
  
  <p>But it is not adding my CSS styling, it is just generating the text "Add".  Any help would be useful. Thanks</p>