Pass search_string to search_field.html
This commit is contained in:
parent
a53818257c
commit
f61cde180f
|
@ -70,7 +70,11 @@ def list_sessions(request: HttpRequest, search_string: str = "") -> HttpResponse
|
||||||
Form(
|
Form(
|
||||||
children=[
|
children=[
|
||||||
render_to_string(
|
render_to_string(
|
||||||
"cotton/search_field.html", {"id": "search_string"}
|
"cotton/search_field.html",
|
||||||
|
{
|
||||||
|
"id": "search_string",
|
||||||
|
"search_string": search_string,
|
||||||
|
},
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue