<?php $this->loadJavascript('/admin/media/js/utils.js'); ?>
<?php $this->loadCss('/media/css/utilizadores.css'); ?>

<div id="utilizadores_registo">
   <?php echo $form->start(); ?>
   <table border="0" class="form">
      <?php foreach ($form->getElementsNames() as $element): ?>
      <tr>
         <td width="150" valign="top" bgcolor="#f5f5f5" align="right"><?php echo $form->{$element}->label; ?></td>
         <td valign="middle">
            <?php if ($form->{$element}->getErrorMessage()): ?>
            <div class="error_message"><?php echo $form->{$element}->getErrorMessage(); ?></div>
            <?php endif; ?>
            <?php echo $form->{$element}->input; ?>
         </td>
      </tr>
      <?php endforeach; ?>
      <tr>
         <td>&nbsp;</td>
         <td align="left"><input name="submit" type="submit" value="<?php echo translate('Registar'); ?>" class="submit"/></td>
      </tr>
   </table>
   <?php echo $form->getJsValidate()?>
   <?php echo $form->end(); ?>
</div>