<h1 tal:replace="structure here/standard_html_header">Header</h1>

<h2>
  <a href="" id="jtracker_title"
     tal:attributes="href string:${here/absolute_url}/">
    <span tal:replace="string:${here/title} (${here/abbreviation})">
      Tracker title
    </span>
  </a>&nbsp;-&nbsp;Search Issues
</h2>

<form method="get" action="" tal:attributes="action here/absolute_url">
  <input type="hidden" name="sort_on" value="id">
  <input type="hidden" name="sort_order" value="reverse">
  <table cellpadding="3" cellspacing="2">
    <tr>
      <td valign="top"><b> Text </b></td>
      <td> <input type="text" name="SearchableText" size="45"> </td>
    </tr>
    <tr>
      <td valign="top"><b> Component </b></td>
      <td>
        <select name="component:list" multiple size="5">
          <option value=""
                  tal:repeat="component here/components"
                  tal:attributes="value component"
                  tal:content="component">
            Component X
          </option>
        </select>
      </td>
    </tr>
    <tr>
      <td valign="top"><b> Stage </b></td>
      <td>
        <select name="stage:list" multiple size="6"
                tal:define="stages python: here.catalog.uniqueValuesFor('stage')">
          <option value=""
                  tal:repeat="stage stages"
                  tal:attributes="value stage"
                  tal:content="stage">
            Stage X
          </option>
        </select>
      </td>
    </tr>
    <tr>
      <td valign="top"><b> Request Type </b></td>
      <td>
        <select name="request_type:list" multiple size="5"
                tal:define="rts here/request_types">
          <option value=""
                  tal:repeat="request_type rts"
                  tal:attributes="value request_type"
                  tal:content="request_type">
            Complaint Type
          </option>
        </select>
      </td>
    </tr>
    <tr>
      <td valign="top"><b> Requester </b></td>
      <td>
        <select name="requester_name:list" multiple size="5"
                tal:define="rns python: here.catalog.uniqueValuesFor('requester_name')">
          <option value=""
                  tal:repeat="requester_name rns"
                  tal:attributes="value requester_name"
                  tal:content="requester_name">
            John Doe
          </option>
        </select>
      </td>
   </tr>
    <tr>
      <td colspan="2">
        <br />
        <input type="submit" name="do_search" value=" Search ">
      </td>
    </tr>
  </table>
</form>

<h1 tal:replace="structure here/standard_html_footer">Footer</h1>

