![Dan Helfman](/assets/img/avatar_default.png)
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.
14 lines
401 B
Python
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",
|
|
)
|