  {error}
  <form method="post" action="{actionurl}">
  <table class="basic" align="center">
    <tr><td class="header">&nbsp;</td></tr>
    <tr>
      <td>       
          <table class="basic_with_background-color" align="center">
            <tr>
              <td class="bg_color1" colspan="5">
                {lang_parent}
                <select name="new_parent">
                  <option value="">{lang_none}</option>
                  {todo_list}
                </select>
              </td>
            </tr>
            <tr class="left">
              <td class="bg_color2">{lang_title}:</td>
              <td class="bg_color2" colspan="3"><input class="text" type="text" name="values[title]" value="{title}" size="50" /></td>
            </tr>
            <tr class="left">
              <td class="bg_color1" valign="top">{lang_descr}:</td>
              <td class="bg_color1" colspan="3"><textarea class="textarea" name="values[descr]" rows="4" cols="50" wrap="virtual">{descr}</textarea></td>
            </tr>
            <tr class="left">
              <td class="bg_color2" align="left">{lang_category}:</td>
              <td class="bg_color2" valign="top" colspan="3">
                <select name="new_cat">
                  <option value="0">{lang_none}</option>
                  {cat_list}
                </select>
              </td>
            </tr>
            <tr><td class="bg_color1" colspan="4">&nbsp;</td></tr>
            <tr class="left">
              <td class="bg_color2">{lang_start_date}:</td>
              <td class="bg_color2">{start_select_date}</td>
              <td class="bg_color2">{lang_selfortoday}</td>
              <td class="bg_color2">{selfortoday}</td>
            </tr>
            <tr class="left">
              <td class="bg_color1">{lang_end_date}:</td>
              <td class="bg_color1">{end_select_date}</td>
              <td class="bg_color1">{lang_daysfromstartdate}</td>
              <td class="bg_color1">{daysfromstartdate}</td>
            </tr>
            <tr><td class="bg_color2" colspan="4">&nbsp;</td></tr>
            <tr class="left">
              <td class="bg_color1">{lang_completed}:</td>
              <td class="bg_color1">{stat_list}</td>
              <td class="bg_color1">{lang_urgency}:</td>
              <td class="bg_color1">{pri_list}</td>
            </tr>
            <tr class="left">
            	<td class="bg_color2" colspan="4">{lang_access}: {access_list}</td>
            </tr>
          </table>    
      </td>
    </tr>
  </table>
<br />

<!-- BEGIN add -->
    <table class="basic" align="center">
      <tr valign="bottom">
        <td>
          <input type="submit" name="submit" value="{lang_submit}" />&nbsp;
          <input type="button" name="cancel" value="{lang_cancel}" onClick="javascript:history.back()" />
        </td>
        <td><input type="reset" name="reset" value="{lang_reset}" /></td>
      </tr>
    </table>
</form>
<!-- END add -->

<!-- BEGIN edit -->
  <table class="basic" align="center">
    <tr>
      <td>
        <input type="submit" name="submit" value="{lang_submit}" />
        <input type="button" name="cancel" value="{lang_cancel}" onClick="javascript:history.back()" />
</form>
      </td>
      <td>{delete}</td>
    </tr>
  </table>
<!-- END edit -->

