aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/dashboard/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/dashboard/index.html')
-rw-r--r--templates/web/base/dashboard/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/web/base/dashboard/index.html b/templates/web/base/dashboard/index.html
index c90823d37..5ac414bde 100644
--- a/templates/web/base/dashboard/index.html
+++ b/templates/web/base/dashboard/index.html
@@ -38,9 +38,10 @@
<p>
<label for="category">[% loc('Category:') %]</label>
<select class="form-control" name="category" id="category"><option value=''>[% loc('All') %]</option>
- [% FOR cat IN contacts %]
+ [% BLOCK category_option %]
<option value='[% cat.category | html %]'[% ' selected' IF category == cat.category %]>[% cat.category_display | html %]</option>
[% END %]
+ [%~ INCLUDE 'report/new/_category_select.html' category_options=contacts ~%]
</select>
</p>