title: ASP.NET MVC3 Create a Form Element using HTML.BeginForm with specific attributes
body: <p>I am trying to create a form in my view that will route to a specific controller and action, that will do so as a Get request, and that will have a class attribute "pull-right"</p>
  
  <p>This is what I've tried so far...</p>
  
  <pre><code> using (Html.BeginForm("LogOff", "Account", "Get", null, new {@class = "pull-right"}))
   {
       &lt;div class="clearfix"&gt;
           &lt;label&gt; In as: &lt;strong&gt;@User.Identity.Name&lt;/strong&gt;&lt;/label&gt;
       &lt;/div&gt;
       &lt;button class="btn" type="submit"&gt;Log Out&lt;/button&gt;
   }
  </code></pre>
  
  <p>But it it is throwing an error and I can't figure out how to correctly create this method.  Any help on this would be appreciated.</p>