<h1><?php echo $this->translate('reply.title.create_confirm'); ?></h1>

<h2><?php echo $this->translate('reply.caption.confirm'); ?></h2>


<form action="<?php echo $this->appPath('controller') .'/'. $this->action_prefix; ?>commit" method="post">
<input type="hidden" name="id" value="<?php echo $this->escape($this->form_input['id']); ?>"/>
<input type="hidden" name="inquiry_id" value="<?php echo $this->escape($this->form_input['inquiry_id']);?>">
<input type="hidden" name="parent_id" value="<?php echo $this->escape($this->form_input['parent_id']);?>">
<input type="hidden" name="method" value="<?php echo $this->escape($this->form_input['method']);?>">

<table class="form_2col">
<tbody>

<!-- 
<tr>
<th>INQUIRY_ID</th>
<td><?php echo $this->escape($this->form_input['inquiry_id']);?></td>
</tr>
<tr>
<th>REPLY_ID</th>
<td><?php echo $this->escape($this->form_input['parent_id']);?></td>
</tr>
-->
        
<tr>
<th><?php echo $this->translate('reply.label.subject'); ?></th>
<td><?php echo $this->escape($this->form_input['subject']);?><input type="hidden" name="subject" value="<?php echo $this->escape($this->form_input['subject']);?>"></td>
</tr>

<tr>
<th><?php echo $this->translate('reply.label.content'); ?></th>
<td><?php echo nl2br($this->escape($this->form_input['content'])); ?><input type="hidden" name="content" value="<?php echo $this->escape($this->form_input['content']);?>"></td>
</tr>

<!-- 
<tr>
<th>METHOD</th>
<td><?php echo $this->method_options[$this->form_input['method']]; ?>
</td>
</tr>
-->

<tr>
<th><?php echo $this->translate('reply.label.priority'); ?></th>
<td><?php  echo $this->priority_options[$this->form_input['priority']]; ?>
<input type="hidden" name="priority" value="<?php echo $this->escape($this->form_input['priority']);?>"></td>
</tr>

</tbody>

<tfoot class="right_button">
<tr>
<td colspan="2">
<input type="submit" style="width:80px;" name="createconfirm" value="<?php echo $this->translate('common.operation.register'); ?>">&nbsp;&nbsp;
<input type="button" style="width:80px;" onclick="this.form.action='<?php echo $this->appPath('controller'); ?>/create_input';this.form.submit();" value="<?php echo $this->translate('common.operation.back'); ?>">
</td>
</tr>
</tfoot>

</table>
</form>
