<?php /* Smarty version 2.6.19, created on 2008-03-14 20:47:37
         compiled from ../templates/requirements/new.tpl */ ?>
<?php if (isset ( $this->_tpl_vars['message'] )): ?>
<?php $_from = $this->_tpl_vars['message']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['mess']):
?>
<?php if ($this->_tpl_vars['key'] === 'form_error'): ?>
    <p>An errors were detected:</p>
    <ul>
<?php $_from = $this->_tpl_vars['mess']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['error_mess']):
?>
      <li><?php echo $this->_tpl_vars['error_mess']; ?>
</li>
<?php endforeach; endif; unset($_from); ?>
    </ul>    
<?php else: ?>
    <p><?php echo $this->_tpl_vars['mess']; ?>
</p>
<?php endif; ?>
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
    <form method="post" action="">
      <table>
        <tr><td>Name:</td><td><input type="text" name="name" value="<?php echo $this->_tpl_vars['form']['name']; ?>
" /></td><tr>
        <tr><td>Description:</td><td><textarea name="description"><?php echo $this->_tpl_vars['form']['description']; ?>
</textarea></td><tr>
        <tr><td colspan="2"><input type="submit" name="button" value="Save" /></td><tr>
      </table>
    </form>
