]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 600516: The "Content Type" and "Flags" sections are not displayed when trying...
authorFrédéric Buclin <LpSolit@gmail.com>
Fri, 29 Oct 2010 10:09:26 +0000 (12:09 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 29 Oct 2010 10:09:26 +0000 (12:09 +0200)
a=LpSolit (module owner)

template/en/default/attachment/createformcontents.html.tmpl

index 42169796e9138bb69691de67fd6afb2e131e2d43..a1e168becafa4e211ac05bff93838a4c94d6cc6e 100644 (file)
@@ -49,7 +49,7 @@
     <input type="text" id="description" name="description" size="60" maxlength="200">
   </td>
 </tr>
-<tr class="expert_fields">
+<tr[% ' class="expert_fields"' UNLESS bug.id %]>
   <th>Content Type:</th>
   <td>
     <em>If the attachment is a patch, check the box below.</em><br>
@@ -82,7 +82,7 @@
              onchange="if (this.value) this.form.contenttypemethod[2].checked = true;">
   </td>
 </tr>
-<tr class="expert_fields">
+<tr[% ' class="expert_fields"' UNLESS bug.id %]>
   <td> </td>
   <td>
     [% IF flag_types && flag_types.size > 0 %]