// This file is automatically generated by qtc from "search.html".
// See https://github.com/valyala/quicktemplate for details.
//line search.html:1
package templates
//line search.html:1
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line search.html:1
import "strconv"
//line search.html:3
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line search.html:3
type searchField struct {
id, name string
}
// Common seatch part of many pages
//line search.html:8
func StreamSearchCommon(qw422016 *qt422016.Writer, search SearchForm) {
//line search.html:8
qw422016.N().S(`
`)
//line search.html:45
}
//line search.html:45
func WriteSearchCommon(qq422016 qtio422016.Writer, search SearchForm) {
//line search.html:45
qw422016 := qt422016.AcquireWriter(qq422016)
//line search.html:45
StreamSearchCommon(qw422016, search)
//line search.html:45
qt422016.ReleaseWriter(qw422016)
//line search.html:45
}
//line search.html:45
func SearchCommon(search SearchForm) string {
//line search.html:45
qb422016 := qt422016.AcquireByteBuffer()
//line search.html:45
WriteSearchCommon(qb422016, search)
//line search.html:45
qs422016 := string(qb422016.B)
//line search.html:45
qt422016.ReleaseByteBuffer(qb422016)
//line search.html:45
return qs422016
//line search.html:45
}
// Options fields of a search