<h1><?php echo $this->translate("service.title.{$this->action_prefix}input"); ?></h1>

<h2><?php echo $this->translate('service.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("service.label.$element_name") . $mess_value; ?></li>
<?php endforeach; ?>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
	
<form action="<?php echo $this->appPath('controller') . '/' . $this->action_prefix; ?>confirm" method="POST">
<input type="hidden" name="service_id" value="<?php echo $this->escape($this->form_input['service_id']); ?>"/>

<table class="form_2col">
	<tbody>
		<tr>
			<th><?php echo $this->translate("service.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("service.label.code"); ?></th>
			<td><input type="text" size="50" name="code" value="<?php echo $this->escape($this->form_input['code']);?>"></td>
		</tr>
		<tr>
			<th><?php echo $this->translate("service.label.inquiry_mailaddress"); ?></th>
			<td><input type="text" size="50" name="inquiry_mailaddress" value="<?php echo $this->escape($this->form_input['inquiry_mailaddress']);?>"></td>
		</tr>
		<tr>
			<th><?php echo $this->translate("service.label.comment_mailaddress"); ?></th>
			<td><input type="text" size="50" name="comment_mailaddress" value="<?php echo $this->escape($this->form_input['comment_mailaddress']);?>"></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('service.operation.back_list'); ?></a></li>
</ul>