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

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

<?php if(!empty($this->error_messages)) : ?>
<div id="errorMessage">
<ul>
<?php foreach($this->error_messages as $element_name => $element_mess) : ?>
<?php foreach($element_mess as $mess_key => $mess_value) :?>
<li><?php echo $this->translate("user.label.$element_name") . $mess_value; ?></li>
<?php endforeach; ?>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>

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

<table class="form_2col">
<tbody>
<tr>
<th><?php echo $this->translate('user.label.user_id'); ?></th>
<td><input type="text" size="50" name="user_id" value="<?php echo $this->escape($this->form_input['user_id']); ?>"></td>
</tr>
<tr>
<th><?php echo $this->translate('user.label.name'); ?></th>
<td><input type="text" size="50" name="name" value="<?php echo $this->escape($this->form_input['name']); ?>"></td>
</tr>
<tr>
<th><?php echo $this->translate('user.label.mailaddress'); ?></th>
<td><input type="text" size="50" name="mailaddress" value="<?php echo $this->escape($this->form_input['mailaddress']); ?>"></td>
</tr>
<tr>
<th><?php echo $this->translate('user.label.password'); ?></th>
<td><input type="password" name="password" value=""></td>
</tr>
<tr>
<th><?php echo $this->translate('user.label.password_confirm'); ?></th>
<td><input type="password" name="password_confirm" value=""></td>
</tr>
</tbody>
<tfoot class="right_button">
<tr>
<td colspan="2">
<input type='submit' style="width:80px;" value="<?php echo $this->translate('common.operation.register'); ?>">&nbsp;&nbsp;
<input type="reset" style="width:80px;" value="<?php echo $this->translate('common.operation.reset'); ?>">
</td>
</tr>
</tfoot>
</table>
</form>

<br/>
<ul>
<li>&gt;&gt;&nbsp;&nbsp;<a href="<?php echo $this->appPath('controller'); ?>"><?php echo $this->translate('user.operation.back_list'); ?></a></li>
</ul>