<?php if(!empty($info))
	//KOMUNIKAT
	echo '<p class="info_box">'.$info.'</p>';
?>
<form action="/master/client/<?php echo $client_id ?>#tabs-1" method="post">
	<input type="hidden" name="id" value="<?php echo $user['id']; ?>"/>
	<p>
		<label class="form_label" for="name">Nazwa*</label>
		<input type="text" id="name" name="name" value="<?php echo (isset($values['name']) ? $values['name'] : $user['name']); ?>"/>
		<span class="error_info" id="name_error" style="display:block;"><?php echo (isset($errors['name']) ? $errors['name'] : ''); ?></span>		
	</p>	
	<p>
		<label class="form_label" for="password">Nowe hasło</label>
		<input type="password" id="password" name="password" value=""/>
		<span class="error_info" id="password_error"><?php echo (isset($errors['password']) ? $errors['password'] : ''); ?></span>	
	</p>
	
	<p>
		<label class="form_label" for="password2">Potwierdź hasło</label>
		<input type="password" id="password2" name="password2" value=""/>		
		<span class="error_info" id="password2_error"><?php echo (isset($errors['password2']) ? $errors['password2'] : ''); ?></span>
	</p>
	
	<p>
		<label class="form_label" for="active">Aktywność</label>
		<select name="active">
			<option value="1" <?php echo ((isset($user['active']) && $user['active']== 1) ? 'selected="selected"':'')?> >tak</option>
			<option value="0" <?php echo ((isset($user['active']) && $user['active']== 0) ? 'selected="selected"':'')?> >nie</option>
		</select>
		<span class="error_info" id="active_error"><?php echo (isset($errors['active']) ? $errors['active'] : ''); ?></span>
	</p>
	<p>
        <div class="formHr">&nbsp;</div>
        <div class="form_buttons_v1">
            <input type="submit" name="client_account" value="Zatwierdź" class="formButton"/>
            <span class="field_required">* - pole wymagane</span>
        </div>
	</p>
</form>	
