<!-- $Id: form.tpl,v 1.15.2.1.2.1 2003/10/14 12:22:48 ceb Exp $ -->

<center>
{error}
<form method="POST" action="{actionurl}">
<table width="90%" border="0" cellspacing="0" cellpadding="2">
	<tr>
		<td>{lang_title}:</td>
		<td colspan="3"><input type="text" name="values[title]" value="{title}" size="50"></td>
	</tr>
	<tr>
		<td valign="top">{lang_descr}:</td>
		<td colspan="3"><textarea name="values[descr]" rows="4" cols="50" wrap="VIRTUAL">{descr}</textarea></td>
	</tr>
	<tr>
		<td colspan="4"><hr size="1"></td>
	</tr>
	<tr>
		<td>{lang_parent}</td>
		<td><select name="new_parent"><option value="">{lang_none}</option>{todo_list}</select></td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>{lang_start_date}:</td>
		<td>{start_select_date}</td>
		<td>{lang_selfortoday}</td>
		<td>{selfortoday}</td>
	</tr>
	<tr>
		<td>{lang_end_date}:</td>
		<td>{end_select_date}</td>
		<td>{lang_daysfromstartdate}</td>
		<td>{daysfromstartdate}</td>
	</tr>
	<tr>
		<td colspan="4"><hr size="1"></td>
	</tr>
	<tr>
		<td>{lang_completed}:</td>
		<td>{stat_list}</td>
		<td>{lang_category}</td>
		<td><select name="new_cat"><option value="0">{lang_none}</option>{cat_list}</select></td>
	</tr>
	<tr>
		<td>{lang_urgency}:</td>
		<td>{pri_list}</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
	<tr>
		<td>{lang_access}:</td>
		<td>{access_list}</td>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
</table>

<!-- BEGIN add -->

<table width="90%" border="0" cellspacing="0" cellpadding="0">
	<tr valign="bottom" height="50">
		<td>
			<input type="submit" name="submit" value="{lang_save}">
		</td>
		<td align="right">
			<input type="reset" name="reset" value="{lang_reset}">
		</td>
	</tr>
</table>
</form>
</center>
         
<!-- END add -->

<!-- BEGIN edit -->

<table width="90%" border="0" cellspacing="0" cellpadding="0">
	<tr valign="bottom" height="50">
		<td>
			<input type="submit" name="submit" value="{lang_save}">
			</form>
		</td>
		<td align="right">
			{delete}
		</td>
	</tr>
</table>
</center>
         
<!-- END edit -->
