blob: 941e62493d95da5ff4cd772b916de163ce83a62e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#extends templates.base
#def head
<script src="/static/edit.js" type="text/javascript"></script>
#end def
#def content
<form action="/paste" method="post" id="pasteform">
<ul>
<li id="syntaxli">
<select name="syntax" id="syntax">
#for cat, ls in $lexers
<optgroup label="$cat">
#for k, v in $ls
<option value="$v"#if $k == $default# selected="selected"#end if#>$k</option>
#end for
</optgroup>
#end for
</select>
</li>
<li><input type="text" name="nick" id="nick" value="$nick" /> <label for="remember_me"><input type="checkbox" name="remember_me" id="remember_me" #if $remembered#checked="true" #end if#/> Remember me</label></li>
<li><input type="text" name="title" id="title" value="Untitled" /></li>
<li><textarea rows="15" cols="80" name="text" id="text"></textarea></li>
<li>
<input type="submit" id="pastesubmit" name="type" value="Paste" />
<input type="submit" id="pastesubmit2" name="type" value="Preview" />
</li>
</ul>
</form>
#end def
|