summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/process/verify-new-product.html.tmpl19
-rw-r--r--template/en/default/global/select-menu.html.tmpl5
2 files changed, 19 insertions, 5 deletions
diff --git a/template/en/default/bug/process/verify-new-product.html.tmpl b/template/en/default/bug/process/verify-new-product.html.tmpl
index 3b185993b..9b73abe97 100644
--- a/template/en/default/bug/process/verify-new-product.html.tmpl
+++ b/template/en/default/bug/process/verify-new-product.html.tmpl
@@ -47,6 +47,7 @@
[% PROCESS "global/hidden-fields.html.tmpl"
exclude=(verify_fields ? "^version|component|target_milestone$" : "") %]
+<input type="hidden" name="confirm_product_change" value="1">
[%# Verify the version, component, and target milestone fields. %]
[% IF verify_fields %]
<h3>Verify Version, Component[% ", Target Milestone" IF use_target_milestone %]</h3>
@@ -69,16 +70,28 @@
<tr>
<td>
<b>Version:</b><br>
- [% PROCESS "global/select-menu.html.tmpl" name="version" options=versions default=defaults.version %]
+ [% PROCESS "global/select-menu.html.tmpl"
+ name="version"
+ options=versions
+ default=defaults.version
+ size=10 %]
</td>
<td>
<b>Component:</b><br>
- [% PROCESS "global/select-menu.html.tmpl" name="component" options=components default=defaults.component %]
+ [% PROCESS "global/select-menu.html.tmpl"
+ name="component"
+ options=components
+ default=defaults.component
+ size=10 %]
</td>
[% IF use_target_milestone %]
<td>
<b>Target Milestone:</b><br>
- [% PROCESS "global/select-menu.html.tmpl" name="target_milestone" options=milestones default=defaults.target_milestone %]
+ [% PROCESS "global/select-menu.html.tmpl"
+ name="target_milestone"
+ options=milestones
+ default=defaults.target_milestone
+ size=10 %]
</td>
[% END %]
</tr>
diff --git a/template/en/default/global/select-menu.html.tmpl b/template/en/default/global/select-menu.html.tmpl
index 725ec88dd..3233ad776 100644
--- a/template/en/default/global/select-menu.html.tmpl
+++ b/template/en/default/global/select-menu.html.tmpl
@@ -24,7 +24,7 @@
#
# multiple: boolean; whether or not the menu is multi-select
#
- # size: integer; if multi-select, the number of items to display at once
+ # size: integer; the number of items to display at once
#
# options: array or hash; the items with which to populate the array.
# If a hash is passed, the hash keys become the names displayed
@@ -45,7 +45,8 @@
<select name="[% name FILTER html %]"
[% IF onchange %]onchange="[% onchange FILTER html %]"[% END %]
- [% IF multiple %] multiple [% IF size %] size="[% size %]" [% END %] [% END %]>
+ [% IF multiple %] multiple [% END %]
+ [% IF size %] size="[% size %]" [% END %]>
[% IF options_type.search("ARRAY") %]
[% FOREACH value = options %]
<option value="[% value FILTER html %]"