<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h1 tal:define="f_title string:Add JTracker Issue"
    tal:replace="structure python: here.manage_form_title( here
                                                         , form_title=f_title
                                                         )">
  Form Title Bar
</h1>

<p class="form-help">
  Add a new JTracker Issue using this form
</p>

<form action="manage_addJTrackerIssue" method="post">

  <table cellpadding="2"
         tal:define="account here/getAccountInfo">

    <tr>
      <td align="left" valign="top"><div class="form-label">
        Title
      </div></td>
      <td align="left" valign="top"><div class="form-element">
        <input type="text" name="title" size="40" />
      </div></td>
    </tr>

    <tr>
      <td align="left" valign="top"><div class="form-label">
        Request type
      </div></td>
      <td align="left" valign="top"><div class="form-element">
        <select name="request_type">
          <option value=""
                  tal:repeat="comp here/request_types"
                  tal:attributes="value comp"
                  tal:content="comp">
            Some Component
          </option>
        </select>
      </div></td>
    </tr>


    <tr>
      <td align="left" valign="top"><div class="form-label">
        Component
      </div></td>
      <td align="left" valign="top"><div class="form-element">
        <select name="component">
          <option value=""
                  tal:repeat="comp here/components"
                  tal:attributes="value comp"
                  tal:content="comp">
            Some Component
          </option>
        </select>
      </div></td>
    </tr>

    <tr>
      <td align="left" valign="top"><div class="form-label">
        Description
      </div></td>
      <td align="left" valign="top"><div class="form-element">
        <textarea cols="45" rows="10" name="description"></textarea>
      </div></td>
    </tr>

    <tr>
      <td align="left" valign="top"><div class="form-label">
        Requester Name
      </div></td>
      <td align="left" valign="top"><div class="form-element">
        <input type="text" size="40" name="requester_name" value=""
               tal:attributes="value account/full_name|user/getUserName|nothing">
      </div></td>
    </tr>

    <tr>
      <td align="left" valign="top"><div class="form-label">
        Requester Email
      </div></td>
      <td align="left" valign="top"><div class="form-element">
        <input type="text" size="40" name="requester_email" value=""
               tal:attributes="value account/email|user/email|nothing">
      </td>
    </tr>

    <tr>
      <td align="left" valign="top">&nbsp;</td>
      <td align="left" valign="top"><div class="form-element">
        <input class="form-element" type="submit" name="submit" 
               value=" Add " />
      </div></td>
    </tr>

  </table>

</form>

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

