<form action='{$this->ipsclass->base_url}autocom=bugtracker&amp;code={$formbit}&amp;product_id={$project['product_id']}&amp;bug_title_id={$topic['bug_title_id']}&amp;bug_entry_id={$post['bug_entry_id']}' method='post' name='REPLIER' onsubmit='return ValidateForm()'>
<input type='hidden' name='removeattachid' value='0' />
<div class='borderwrap'>
 <div class='maintitle'>{$title}</div>
 <table cellspacing="0" class='ipbtable'>
<if="$type == "add" OR $( $type == 'edit' AND $can_manage == 1 )">
<tr>
	 <td colspan='2' align='center' class='bg1'>
	 <div style='width:100%;' align='center' class='borderwrap'>
	 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	   <tr>
		<td align="right" width='20%'>
		 <strong>Bug Report Title</strong>
		</td>
		<td align="left" width='80%'>
		 <input type="text" size="50" maxlength="300" name="bug_title_title" value="{$topic['bug_title_title']}" tabindex="1" class="forminput" />
		</td>
	   </tr>
	  </table>
	 </div>
	 </td>
	</tr>
</if>
<if="$type == "add" OR $( $type == 'edit' AND $can_manage == 1 ) OR $( $type == 'reply' AND $can_manage == 1 )">
<tr>
	 <td colspan='2' align='center' class='bg1'>
	 <div style='width:100%;' align='center' class='borderwrap'>
	 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	   <tr>
		<td align="right" width='20%'>
		 <strong>Assign to Product</strong>
		</td>
		<td align="left" width='80%'>
		 {$projects_dd}
		</td>
	   </tr>
	  </table>
	 </div>
	 </td>
	</tr>
</if>
<if="$type == "add" OR $( $type == 'edit' AND $can_manage == 1 ) OR $( $type == 'reply' AND $can_manage == 1 )">
<tr>
	 <td colspan='2' align='center' class='bg1'>
	 <div style='width:100%;' align='center' class='borderwrap'>
	 <table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	   <tr>
		<td align="right" width='20%'>
		 <strong>Assign Status</strong>
		</td>
		<td align="left" width='80%'>
		 {$status_dd}
		</td>
	   </tr>
	  </table>
	 </div>
	 </td>
	</tr>
</if>

	<tr>
	<td colspan='2' align='center' class='bg1'>
	<div align='center' class='borderwrap'>
	<table cellpadding='0' cellspacing='0' width='100%' class='darkrow3'>
	 <tr>
	  <td align='center' valign="top">
	   {$editor_html}
	  </td>
	 </tr>
	</table>
	</div>
	</td>
   </tr>
  <tr>
	 <td class="formbuttonrow" colspan="2">
		 <input type="submit" name="submit" value="$button" tabindex="7" class="button" accesskey="s" />&nbsp;
	 </td>
 </tr>
</table>
</div>
</form>
<br style="clear: all;" />