diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-02 13:49:56 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-02 13:49:56 -0400 |
commit | b21df5029b94c5680d8a3e5f0c1ed40a660a1594 (patch) | |
tree | ea68a4c4a2657119a00a0f55f434bd034a89ee79 /templates/searchform.tmpl | |
parent | 970373548fda77223ebbeb6aadbdbe4884b67cef (diff) | |
download | ikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar ikiwiki-b21df5029b94c5680d8a3e5f0c1ed40a660a1594.tar.gz |
Add placeholder text in search form (in html5 mode only).
Diffstat (limited to 'templates/searchform.tmpl')
-rw-r--r-- | templates/searchform.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/searchform.tmpl b/templates/searchform.tmpl index afae2ebf5..cb65d124c 100644 --- a/templates/searchform.tmpl +++ b/templates/searchform.tmpl @@ -1,5 +1,6 @@ <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform"> <div> -<input type="text" id="searchbox" name="P" value="" size="16" /> +<input type="text" id="searchbox" name="P" value="" size="16" +<TMPL_IF HTML5>placeholder="search"</TMPL_IF> /> </div> </form> |