aboutsummaryrefslogtreecommitdiff
path: root/brep/page.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'brep/page.cxx')
-rw-r--r--brep/page.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/brep/page.cxx b/brep/page.cxx
index b59cd4b..c68a7eb 100644
--- a/brep/page.cxx
+++ b/brep/page.cxx
@@ -206,4 +206,15 @@ namespace brep
<< "Priority: " << priority_names[priority_]
<< ~DIV;
}
+
+ // FORM_SEARCH
+ //
+ void FORM_SEARCH::
+ operator() (serializer& s) const
+ {
+ s << FORM
+ << *INPUT(TYPE="search", NAME="q", VALUE=query_)
+ << *INPUT(TYPE="submit", VALUE="Search")
+ << ~FORM;
+ }
}