summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports/old-charts.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/reports/old-charts.html.tmpl')
-rw-r--r--template/en/default/reports/old-charts.html.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/reports/old-charts.html.tmpl b/template/en/default/reports/old-charts.html.tmpl
index b3ebe386d..acebca74d 100644
--- a/template/en/default/reports/old-charts.html.tmpl
+++ b/template/en/default/reports/old-charts.html.tmpl
@@ -7,7 +7,6 @@
#%]
[%# INTERFACE:
- # products: an array of product names the user is allowed to view.
# datasets: an array of hashes with available statuses and resolutions.
# url_image: URL of the generated graph.
#%]
@@ -29,11 +28,12 @@
<tr>
<th>Product:</th>
<td>
- <select id="product_id" name="product_id">
- [% FOREACH product = products %]
- <option value="[% product.id FILTER html %]">[% product.name || '-All-' FILTER html %]</option>
- [% END %]
- </select>
+ [% INCLUDE "global/product-select.html.tmpl"
+ id => "product_id"
+ name => "product_id"
+ valueattribute => "id"
+ add => "-All-"
+ %]
</td>
</tr>
<tr>