add warnings about using map, inline, etc with the sidebar causing
[ikiwiki] / doc / bugs / Add_label_to_search_form_input_field.mdwn
1 The default searchform.tmpl looks rather bare and unintuitive with just an input field.
2
3 The patch below adds a label for the field to improve usability:
4
5     --- templates/searchform.tmpl.orig  Fri Jun 15 15:02:34 2007
6     +++ templates/searchform.tmpl       Fri Jun 15 15:02:41 2007
7     @@ -1,5 +1,6 @@
8      <form method="get" action="<TMPL_VAR SEARCHACTION>" id="searchform">
9      <div>
10     +<label for="phrase">Search:</label>
11      <input type="text" name="phrase" value="" size="16" />
12      <input type="hidden" name="enc" value="UTF-8" />
13      <input type="hidden" name="do" value="hyperestraier" />