summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-01-26 18:37:29 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-01-26 18:37:29 +0100
commitdc94a7a45a7fcd6722f40ac0210b1c37c7756bc5 (patch)
treeb5e40504b93bb34029a9490147a116b08c82b7d5 /templates
parent55b7830fd3426d7731b979a67c13756108b87fca (diff)
Set default syntax from settings.py.
Diffstat (limited to 'templates')
-rw-r--r--templates/paste.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/paste.tmpl b/templates/paste.tmpl
index 195d463..941e624 100644
--- a/templates/paste.tmpl
+++ b/templates/paste.tmpl
@@ -10,7 +10,7 @@
#for cat, ls in $lexers
<optgroup label="$cat">
#for k, v in $ls
- <option value="$v">$k</option>
+ <option value="$v"#if $k == $default# selected="selected"#end if#>$k</option>
#end for
</optgroup>
#end for