Archived
1
0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/view/Search_form.py
Dan Helfman 7973d87a7d * Turned "search:" label into a search button that, when clicked, displays a
pulldown with "titles only" and "everything" radio buttons, defaulting to
   "titles only".
 * Wiki javascript code for submitting a search now sends a new titles_only
   parameter according to what the user has selected in the search pulldown.
 * controller.Notebooks.search() now takes a new titles_only boolean argument,
   which does exactly what you would expect.
2007-08-17 22:26:02 +00:00

14 lines
401 B
Python

from Tags import Form, Strong, Input
class Search_form( Form ):
def __init__( self ):
title = None
Form.__init__(
self,
Input( type = u"button", class_ = u"note_button", id = u"search_button", value = u"search", title = "search options" ),
Input( type = u"text", name = u"search_text", id = u"search_text", size = 30, maxlength = 100 ),
id = u"search_form",
)