Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
75735a5a
Commit
75735a5a
authored
Aug 07, 2016
by
Robin
Browse files
Keep search filter in the form.
parent
d9f800f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/_base_search.html
View file @
75735a5a
...
...
@@ -2,7 +2,7 @@
<form
class=
"form-horizontal hidden-print"
method=
"GET"
action=
"{% url "
representative-list
"
%}"
>
<div
class=
"input-group"
>
<label
class=
"sr-only"
for=
"rechercher"
>
{% trans "Search" %}
</label>
<input
type=
"text"
class=
"form-control"
name=
"search"
placeholder=
"{% trans "
Search
"
%}"
id=
"rechercher"
>
<input
type=
"text"
class=
"form-control"
name=
"search"
placeholder=
"{% trans "
Search
"
%}"
id=
"rechercher"
value=
"{{ filter.data.search }}"
>
<span
class=
"input-group-btn"
>
<button
class=
"btn btn-primary"
type=
"submit"
>
<span
class=
"glyphicon glyphicon-search"
></span>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment