summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-05-29 09:23:47 -0400
committerDonald Stufft <donald@stufft.io>2013-05-29 09:23:47 -0400
commit2f4d1d482e9482c0fcff198a765194ca53483ce7 (patch)
treed924a0c89b71598f8a8a2481733866d1946e9a1b /templates
parentdc8d3b1616d4aa398c49887c59a3993cc639770f (diff)
downloaddecorator-2f4d1d482e9482c0fcff198a765194ca53483ce7.tar.gz
Autofocus the search field
Diffstat (limited to 'templates')
-rw-r--r--templates/standard_template.pt2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/standard_template.pt b/templates/standard_template.pt
index 7ab70af..94ec164 100644
--- a/templates/standard_template.pt
+++ b/templates/standard_template.pt
@@ -58,7 +58,7 @@
<!-- Search Box -->
<div id="searchbox">
<form tal:attributes="action app/url_path" id="searchform"
- method="get" name="searchform">
+ method="get" name="searchform" autofocus="autofocus">
<input type="hidden" name=":action" value="search" />
<div id="search">
<input class="input-text" id="term" name="term" />