Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
84c4910f
Verified
Commit
84c4910f
authored
Dec 12, 2018
by
Sébastiaan Versteeg
Browse files
Correctly align members and photos search forms
parent
641dccde
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/members/templates/members/index.html
View file @
84c4910f
...
...
@@ -18,7 +18,7 @@
{% endblocktrans %}
</p>
<form
class=
"search-form form-inline col-12 col-lg-6 offset-lg-3
row
"
method=
"get"
<form
class=
"search-form form-inline col-12 col-lg-6 offset-lg-3"
method=
"get"
action=
"{% url 'members:index' %}#members-directory"
>
<input
type=
"hidden"
name=
"filter"
value=
"{{ filter }}"
/>
<input
class=
"form-control col-12 col-md-9"
name=
"keywords"
type=
"text"
value=
"{{ keys }}"
...
...
website/photos/templates/photos/index.html
View file @
84c4910f
...
...
@@ -16,11 +16,11 @@
{% trans 'Interested in a full resolution version of a photo? Send your request to
<a
href=
"mailto:media@thalia.nu"
>
media@thalia.nu
</a>
.' %}
</p>
<form
class=
"search-form form-inline col-lg-6 offset-lg-3
row
mb-2"
method=
"get"
<form
class=
"search-form form-inline
col-12
col-lg-6 offset-lg-3 mb-2"
method=
"get"
action=
"{% url 'photos:index' %}#photos-albums"
>
<input
class=
"form-control col-9"
name=
"keywords"
type=
"text"
value=
"{{ keys }}"
<input
class=
"form-control col-
12 col-md-
9"
name=
"keywords"
type=
"text"
value=
"{{ keys }}"
placeholder=
"{% trans "
What
are
you
looking
for
?"
%}"
/>
<input
class=
"btn btn-lg btn-primary col-3"
type=
"submit"
<input
class=
"btn btn-lg btn-primary col-
12 mt-2 mt-md-0 col-md-
3"
type=
"submit"
value=
"{% trans "
Search
"
%}"
/>
</form>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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