3 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
5 <t:atom t:href="$pastebin/paste.atom" t:query="id">
6 Paste: <t:label t:name="summary" />
9 <t:title>Paste: <t:label t:name="summary" /></t:title>
12 <tr><th class="field-label">Author: </th><td><t:label t:name="author" /></td></tr>
13 <tr><th class="field-label">Mode: </th><td><t:label t:name="mode" /></td></tr>
14 <tr><th class="field-label">Date: </th><td><t:label t:name="date" /></td></tr>
17 <pre class="description"><t:code t:name="contents" t:mode="mode" /></pre>
19 <t:button t:action="$pastebin/delete-paste" t:for="id" class="link-button link">Delete Paste</t:button>
21 <t:bind-each t:name="annotations">
23 <h2><a name="@id">Annotation: <t:label t:name="summary" /></a></h2>
26 <tr><th class="field-label">Author: </th><td><t:label t:name="author" /></td></tr>
27 <tr><th class="field-label">Mode: </th><td><t:label t:name="mode" /></td></tr>
28 <tr><th class="field-label">Date: </th><td><t:label t:name="date" /></td></tr>
31 <pre class="description"><t:code t:name="contents" t:mode="mode"/></pre>
33 <t:button t:action="$pastebin/delete-annotation" t:for="id" class="link-button link">Delete Annotation</t:button>
37 <t:bind t:name="new-annotation">
39 <h2>New Annotation</h2>
41 <t:form t:action="$pastebin/new-annotation" t:for="parent">
44 <tr><th class="field-label">Summary: </th><td><t:field t:name="summary" /></td></tr>
45 <tr><th class="field-label">Author: </th><td><t:field t:name="author" /></td></tr>
46 <tr><th class="field-label">Mode: </th><td><t:choice t:name="mode" t:choices="modes" /></td></tr>
47 <tr><th class="field-label big-field-label">Body: </th><td><t:textarea t:name="contents" t:rows="20" t:cols="60" /></td></tr>
48 <tr><th class="field-label">Captcha: </th><td><t:field t:name="captcha" /></td></tr>
51 <td>Leave the captcha blank. Spam-bots will fill it indiscriminantly, so their attempts to register will be blocked.</td>
55 <p> <button type="submit">Done</button> </p>