Skip to content

Commit 2c26a4f

Browse files
committed
add style="margin-bottom: 5px;" for form-group in change-list
1 parent 74ff82a commit 2c26a4f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adminlteui/templates/admin/filter.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load i18n %}
22

3-
<div class="form-group">
3+
<div class="form-group" style="margin-bottom: 5px;">
44
<select class="form-control select2 select2-hidden-accessible search-filter" style="width: 100%;" tabindex="-1" aria-hidden="true" data-name="{{ field_name }}">
55
<option value="">{{ title }}</option>
66
<option value="">---------</option>

adminlteui/templates/admin/search_form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111

1212
{% if cl.search_fields %}
1313
<!-- DIV needed for valid HTML -->
14-
<div class="form-group">
14+
<div class="form-group" style="margin-bottom: 5px;">
1515
<input class="form-control" type="text" size="40" name="{{ search_var }}" value="{{ cl.query }}" id="searchbar" autofocus>
1616
</div>
1717
{% endif %}
1818
{% if cl.has_filters or cl.search_fields %}
19-
<div class="form-group" id="search_group">
19+
<div class="form-group" id="search_group" style="margin-bottom: 5px;">
2020
<button type="submit" class="btn btn-primary" style="margin-right: 5px;">{% trans 'Search' %}</button>
2121
{% if show_result_count %}
2222
<span class="small quiet">{% blocktrans count counter=cl.result_count %}{{ counter }} result{% plural %}{{ counter }} results{% endblocktrans %} (<a href="?{% if cl.is_popup %}_popup=1{% endif %}">{% if cl.show_full_result_count %}{% blocktrans with full_result_count=cl.full_result_count %}{{ full_result_count }} total{% endblocktrans %}{% else %}{% trans "Show all" %}{% endif %}</a>)</span>

0 commit comments

Comments
 (0)