summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/flag-type/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/flag-type/list.html.tmpl')
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl16
1 files changed, 7 insertions, 9 deletions
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index 3783cade8..25b2e3390 100644
--- a/template/en/default/admin/flag-type/list.html.tmpl
+++ b/template/en/default/admin/flag-type/list.html.tmpl
@@ -39,15 +39,13 @@
<form id="flagtype_form" name="flagtype_form" action="editflagtypes.cgi" method="get">
<div class="inline">
<label for="product">Product:</label>
- <select id="product" name="product"
- onchange="selectProduct(this, this.form.component, null, null, '__Any__');">
- <option value="">__Any__</option>
- [% FOREACH prod = products %]
- <option value="[% prod.name FILTER html %]"
- [%+ 'selected="selected"' IF selected_product == prod.name %]>
- [%- prod.name FILTER html %]</option>
- [% END %]
- </select>
+ [% INCLUDE "global/product-select.html.tmpl"
+ id => "product"
+ name => "product"
+ add => "__Any__"
+ onchange => "selectProduct(this, this.form.component, null, null, '__Any__');"
+ products => products
+ %]
</div>
<div class="inline">