content,
<span xmlns:kid="http://purl.org/kid/ns#" kid:omit="">
<?python
allowed = allow(URIRef("%s/put_entry/" % request.host))
from urllib import quote
?>
<div kid:if="allowed" kid:strip="">
<form action="/put_entry/" method="post">
<p>Title: <input type="text" name="title" value="" style="width: 100%"/></p>
<p>Format: <select name="format"><option value="http://redfoot.net/3.0/markdown#format">markdown</option><option value="http://www.w3.org/1999/xhtml">xhtml</option><option value="" selected="True">text</option></select></p>
<p>Content:<textarea name="content" cols="" rows="30" style="width: 100%"></textarea></p>
<p><input name="submit" type="submit" value="Submit Entry" /></p>
</form>
</div>
<div kid:if="not allowed" kid:strip="">
<p kid:if="allow(URIRef('%s/login/'% request.host))">
<a href="/login/?return_uri=${quote(request.uri)}">Login</a> to submit a blog entry.
</p>
</div>
</span>
Comments regarding http://redfoot.net/3.0/aspects/blog/add_entry_content
Login to submit a comment.