diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/paste.tmpl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/paste.tmpl b/templates/paste.tmpl index e0fea2e..f9c9504 100644 --- a/templates/paste.tmpl +++ b/templates/paste.tmpl @@ -10,13 +10,19 @@ #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> + <option value="$v"#if $v == $syntax# selected="selected"#end if#>$k</option> #end for </optgroup> #end for </select> + <input type="checkbox" name="remember_syntax" id="remember_syntax" #if $remember_syntax#checked #end if#> + <label for="remember_syntax">Remember syntax</label> + </li> + <li> + <input type="text" name="nick" id="nick" value="$nick"> + <input type="checkbox" name="remember_me" id="remember_me" #if $remember_me#checked #end if#> + <label for="remember_me">Remember me</label> </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> |