title: Zend Framework 2 - Add Form class
body: <p>I just can't find the answer... Is there a way to pass a <code>CSS class</code> to my <code>open-form-tag</code>?</p>
  
  <p>For example I want to create a form with the class ''form-horizontal''.</p>
  
  <p>The docs say this:</p>
  
  <pre><code>// Render the opening tag
  echo $this-&gt;form()-&gt;openTag($form);
  // &lt;form action="/contact/process" method="post"&gt;
  </code></pre>
  
  <p>But how adding the form class name?</p>
  
  <p><strong>Edit:</strong> I tried adding this to my Form.php but nothing happend...</p>
  
  <pre><code>public function getOptions()
  {
      return array('class' =&gt; 'form-horizontal');
  }
  </code></pre>
  
  <p>Thanks,</p>
  
  <p>Ron</p>