<?php 
echo form_hidden($accountData);
?>
				<div class="form-group">
					<label for="inputFirstName" class="control-label">Nom</label>
					<div>
						<?php 
print_model_input($this, 'text', 'user_profiles', 'first_name', 'item', 'editForm');
?>
					</div>
				</div>
				<div class="form-group">
					<label for="inputLastName" class="control-label">Prénom</label>
					<div>
						<?php 
print_model_input($this, 'text', 'user_profiles', 'last_name', 'item', 'editForm');
?>
					</div>
				</div>

				<div class="form-group">
					<label for="inputBithDay" class="control-label">Date de naissance</label>
					<div>
						<input type="text" class="form-control" datepicker-popup="dd-MM-yyyy" ng-model="item.birthdate" is-open="opened" min="minDate" />
					</div>
				</div>          

				<div class="form-group">
					<label class="control-label">Photo</label>
					<div>
						<div image-upload config="uploader" item="item.src" ></div>
				<div class="form-group">
					<label for="exampleInputEmail1">Nom d'utilisateur *</label>
			    	<?php 
print_model_input($this, 'text', 'user_accounts', 'username', 'item', 'editForm');
?>
				</div>
				<div class="form-group">
					<label for="exampleInputEmail1">Email address *</label>
			    	<?php 
print_model_input($this, 'text', 'user_accounts', 'email', 'item', 'editForm');
?>
				</div>
				<div class="form-group">
					<label for="exampleInputEmail1">Mot de passe *</label>
			    	<?php 
print_model_input($this, 'text', 'user_accounts', 'pwd', 'item', 'editForm');
?>
				</div>
				<div class="form-group">
					<label for="exampleInputEmail1">Type de compte *	</label>
			    	<select name="userGroup" id="">
			    		<?php 
foreach ($groupsList as $group) {
    ?>
			    			<option value="<?php 
    echo $group['id'];
    ?>
"><?php 
    echo $group['ugrp_name'];
    ?>
</option>