[svn r1545] Check for unexisting description or name.
<html>
<head>
<title>Add a bookmark</title>
</head>
<body>
<h1>Add a bookmark</h1>
<form action="add_result.py" method="post" name="add">
<fieldset class="bookmark">
<input type="hidden" name="id" value="<TMPL_VAR bkid>"/>
<label>Nom: <input type="text" name="name"
value="<TMPL_VAR ctitle>"/></label><br/>
<label>URL: <input type="text" name="url"
value="<TMPL_VAR curl>"/></label><br/>
<label for="desc">Description: </label><br/>
<textarea name="desc" rows="5" cols="40"><TMPL_VAR desc></textarea>
<button type="submit" name="submit">Soumettre</button>
</fieldset>
<fieldset class="keywords">
<legend>Mots clés:</legend>
<ul>
<TMPL_LOOP Keywords>
<li><input type="checkbox" name="kw"
<TMPL_IF checked>checked</TMPL_IF>
value="<TMPL_VAR id>"/><TMPL_VAR keyword></li>
</TMPL_LOOP>
</ul>
<label>New keywords: <input type="text" name="newkw"> (comma separated list)</label>
</form>
</body>
</html>