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

<div id="utilizadores_form">
   <?php echo $form->start(); ?>
   <table border="0" class="form">
      <?php foreach ($form->getElementsNames() as $element): ?>
      <tr>
         <td><?php echo $form->{$element}->label; ?></td>
         <td>
            <?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('Gravar'); ?>" class="submit"/></td>
      </tr>
   </table>
   <?php echo $form->end(); ?>
</div>
