factor/extra/webapps/pastebin/new-paste.furnace

52 lines
1.2 KiB
Plaintext
Raw Normal View History

<% USING: continuations furnace namespaces ; %>
2007-12-06 01:02:58 -05:00
<%
2007-12-08 15:14:24 -05:00
"New paste" "title" set
2007-12-06 01:02:58 -05:00
"header" render-template
%>
2007-12-06 00:06:34 -05:00
2007-11-07 15:01:42 -05:00
<form method="POST" action="/responder/pastebin/submit-paste">
<table>
<tr>
2007-12-06 01:02:58 -05:00
<th align="right">Summary:</th>
<td><input type="TEXT" name="summary" value="<% "summary" render %>" /></td>
<td align="left" class="error"><% "summary" "*Required" render-error %></td>
2007-11-07 15:01:42 -05:00
</tr>
<tr>
2007-12-06 01:02:58 -05:00
<th align="right">Your name:</th>
<td><input type="TEXT" name="author" value="<% "author" render %>" /></td>
<td class="error"><% "author" "*Required" render-error %></td>
2007-11-07 15:01:42 -05:00
</tr>
2007-12-06 00:06:34 -05:00
<tr>
2007-12-06 01:02:58 -05:00
<th align="right">File type:</th>
2007-12-06 00:06:34 -05:00
<td><% "modes" render-template %></td>
</tr>
2007-12-10 02:34:56 -05:00
<!--
2007-11-07 15:01:42 -05:00
<tr>
2007-12-06 01:02:58 -05:00
<th align="right">Channel:</th>
2007-11-07 15:01:42 -05:00
<td><input type="TEXT" name="channel" value="#concatenative" /></td>
</tr>
2007-12-10 02:34:56 -05:00
-->
2007-11-07 15:01:42 -05:00
<tr>
<td></td>
<td colspan="2" class="error" align="left"><% "contents" "*Required" render-error %></td>
</tr>
2007-11-07 15:01:42 -05:00
<tr>
2007-12-06 01:02:58 -05:00
<th align="right" valign="top">Content:</th>
<td colspan="2"><textarea rows="24" cols="60" name="contents"><% "contents" render %></textarea></td>
2007-11-07 15:01:42 -05:00
</tr>
</table>
<input type="hidden" name="furnace-form-submitted" value="new-paste"/>
2007-11-07 15:01:42 -05:00
<input type="SUBMIT" value="Submit paste" />
</form>
2007-12-06 01:02:58 -05:00
<% "footer" render-template %>