summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/field.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-15 05:10:21 +0200
committerlpsolit%gmail.com <>2006-08-15 05:10:21 +0200
commit212b28b07c639d876e057ab50b783de7002cb4e5 (patch)
tree6b083b713117fc8fb74014269ddfe666bd47d82b /template/en/default/bug/field.html.tmpl
parent41560ee57841fdd3c1ca519fdfcd70908c86a996 (diff)
downloadbugzilla-212b28b07c639d876e057ab50b783de7002cb4e5.tar.gz
bugzilla-212b28b07c639d876e057ab50b783de7002cb4e5.tar.xz
Bug 348337: enter_bug.cgi doesn't pass HTML validation - Patch by Frédéric Buclin <LpSolit@gmail.com> r=kevin.benton a=myk
Diffstat (limited to 'template/en/default/bug/field.html.tmpl')
-rw-r--r--template/en/default/bug/field.html.tmpl7
1 files changed, 2 insertions, 5 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index ece2f64bf..59020518b 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -37,14 +37,11 @@
[% '</label>' IF editable %]
</th>
-<td class="field_value">
+<td class="field_value" [% "colspan=\"$value_span\"" FILTER none IF value_span %]>
[% IF editable %]
[% SWITCH field.type %]
[% CASE constants.FIELD_TYPE_FREETEXT %]
- <input name="[% field.name FILTER html %]"
- value="[% value FILTER html %]"
- [% "colspan=\"$value_span\"" FILTER none IF value_span %]
- size="60">
+ <input name="[% field.name FILTER html %]" value="[% value FILTER html %]" size="60">
[% END %]
[% ELSE %]
[% value FILTER html %]