factor/extra/webapps/blogs/new-post.xml

18 lines
391 B
XML

<?xml version='1.0' ?>
<t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
<t:title>New Post</t:title>
<div class="post-form">
<t:form t:action="$blogs/new-post">
<p>Title: <t:field t:name="title" t:size="60" /></p>
<p><t:textarea t:name="content" t:rows="30" t:cols="80" /></p>
<input type="SUBMIT" value="Done" />
</t:form>
</div>
<t:validation-errors />
</t:chloe>