From b4aecfefc218d425c7c2b05d0878d4b062613a18 Mon Sep 17 00:00:00 2001 From: rojanu Date: Wed, 2 Apr 2014 16:35:08 +0800 Subject: Bug 539894: Use to group products into classifications in the product drop-down on show_bug.cgi r=glob, a=justdave --- template/en/default/bug/edit.html.tmpl | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'template/en/default/bug/edit.html.tmpl') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 61fa2c1ec..ae33146a7 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -241,11 +241,20 @@ [%# PRODUCT #%] [%#############%] - [% INCLUDE bug/field.html.tmpl - bug = bug, field = bug_fields.product, - override_legal_values = bug.choices.product - desc_url = 'describecomponents.cgi', value = bug.product - editable = bug.check_can_change_field('product', 0, 1) %] + [% PROCESS "bug/field-label.html.tmpl" + field = bug_fields.product + desc_url = 'describecomponents.cgi' + value = bug.product + %] + + [% INCLUDE "global/product-select.html.tmpl" + id => "product" + name => "product" + value => bug.product + products => bug.choices.product + isselect => bug.check_can_change_field('product', 0, 1) + %] + [%# Classification is here so that it can be used in value controllers -- cgit v1.2.3-24-g4f1b