Location: PHPKode > projects > BambooInvoice > bamboo_system_files/application/views/clientcontacts/edit.php
<?php
$this->load->view('header');
?>

<h2><?php echo $page_title;?></h2>

<?php echo form_open('clientcontacts/edit', array('id' => 'clientcontact'), array('id'=>$id));?>

	<input type="hidden" id="client_id" name="client_id" value="<?php echo ($this->validation->client_id) ? ($this->validation->client_id) : ($clientContactData->client_id);?>" />

	<p><label><span class="required"><?php echo $this->lang->line('clients_first_name');?>*:</span> <input type="text" name="first_name" id="first_name" size="25" maxlength="25" value="<?php echo ($this->validation->first_name) ? ($this->validation->first_name) : ($clientContactData->first_name);?>" /></label> <?php echo $this->validation->first_name_error; ?></p>
	<p><label><span class="required"><?php echo $this->lang->line('clients_last_name');?>*:</span> <input type="text" name="last_name" id="last_name" size="25" maxlength="25" value="<?php echo ($this->validation->last_name) ? ($this->validation->last_name) : ($clientContactData->last_name);?>" /></label> <?php echo $this->validation->last_name_error; ?></p>
	<p><label><span class="required"><?php echo $this->lang->line('clients_email');?>*:</span> <input type="text" name="email" id="email" size="25" maxlength="50" value="<?php echo ($this->validation->email) ? ($this->validation->email) : ($clientContactData->email);?>" /></label> <?php echo $this->validation->email_error; ?></p>
	<p><label><span><?php echo $this->lang->line('clients_phone');?>:</span> <input type="text" name="phone" id="phone" size="25" maxlength="50" value="<?php echo ($this->validation->phone) ? ($this->validation->phone) : ($clientContactData->phone);?>" /></label> <?php echo $this->validation->phone_error; ?></p>
	<p class="required">* <?php echo $this->lang->line('actions_required_fields');?></p>

	<p><?php echo form_submit('createClient', $this->lang->line('clients_edit_client'), 'id="createClient"');?></p>

<?php echo form_close();?>

<?php
$this->load->view('footer');
?>
Return current item: BambooInvoice