Armed with a text editor

mu's views on program and recipe! design

<h2>Editing `title`</h2>
<form action="?save" method="post">
<textarea rows="24" cols="120" name="body">`&body`</textarea>
<br/>
#meta = manager.load_meta(manager.document)
#for editable in editmeta:
`editable.title()`: <input type="text" name="`editable`" value="`meta.get(editable)`" size="80"/><br/>
#pass
<input type="submit" value="Save"/>
<select name="contenttype">
#for option in ('text/x-pliante-wiki', 'text/plain'):
<option value="`option`"`meta.get('contenttype') == option and ' selected="True"' or ''`>`option`</option>
#pass
</select>
</form>