title: error messages not displaying in custom form template in drupal 6?
body: <p>I did this using below function in template.php</p>
  
  <pre><code>function mytheme_theme() {
    return array(
      'nsa_create_form' =&gt; array(
         'arguments' =&gt; array('form' =&gt; NULL),
         'template' =&gt; 'nsa-create',
         ),
     );
  }
  </code></pre>
  
  <p>And added nsa-create.tpl.php with the below lines of code</p>
  
  <pre><code>&lt;?php if ($show_messages &amp;&amp; $messages): print $messages; endif; ?&gt;
  
  &lt;?= drupal_render($form['start_date']) ?&gt;
  &lt;?= drupal_render($form['end_date']) ?&gt;
  &lt;?= drupal_render($form['confirm_dates']) ?&gt;
  &lt;?= drupal_render($form['name']) ?&gt;
  &lt;?= drupal_render($form['emp_id']) ?&gt;
  &lt;?= drupal_render($form['client']) ?&gt;
  &lt;?= drupal_render($form['designation']) ?&gt;
  &lt;?= drupal_render($form['manager']) ?&gt;
  &lt;?= drupal_render($form['competency']) ?&gt;
  &lt;?= drupal_render($form['wrapper_nsa']) ?&gt;
  &lt;?= drupal_render($form['submit']) ?&gt;
  </code></pre>
  
  <p>its rendered properly but error/validation messages are not displayed and no red border for invalid fields. </p>