[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
  # License Version 1.1 (the "License"); you may not use this file
  # except in compliance with the License. You may obtain a copy of
  # the License at http://www.mozilla.org/MPL/
  #
  # Software distributed under the License is distributed on an "AS
  # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  # implied. See the License for the specific language governing
  # rights and limitations under the License.
  #
  # The Original Code is the Bugzilla Test Runner System.
  #
  # The Initial Developer of the Original Code is Maciej Maczynski.
  # Portions created by Maciej Maczynski are Copyright (C) 2001
  # Maciej Maczynski. All Rights Reserved.
  #
  # Contributor(s): Greg Hendricks <ghendricks@novell.com>
  #%]
  
<table>
  <tr class="bz_row_header">
    <th colspan="3" >[% terms.Bugs %]</th>
  </tr>
  <tr class="bz_row_header">
    <th>ID</th><th>Summary</th><th>Remove</th>
  </tr>
[% FOREACH bug = case.bugs %]
  <tr>
    <td>[% bug.bug_id FILTER bug_link(bug.bug_id) %] </td>
    <td>[% bug.short_desc FILTER html %]</td>
    <td><a href="tr_show_case.cgi?case_id=[% case.id FILTER none %]&bug_id=[% bug.bug_id FILTER none %]&action=detach_bug"><img src="testopia/img/del.gif" alt="detach bug" /></a>
  </tr>
[% END %]
</table>
<table>
  <tr>
    <th align="right" valign="top" colspan="2">Attach [% terms.Bugs %]</th>
    <td><input name="bugs"></td>
  </tr>
</table>
<p align="right">
  <input type="SUBMIT" name="action" class="tr_button" value="[% action FILTER html %]">
</p>
