<form id="formChangePassword" onsubmit="return submitData(this);" data-target="changePassword" method="post" class="form-horizontal">
	<div class="form-group">
		<?= printMessages('changePassword') ?>
	</div>
    <div class="form-group has-feedback" id="groupOldPassword">
        <label class=" control-label" for="inputOldPassword" id="labelOldPassword">
            <?= $text['label']['oldPassword']; ?>
        </label>
        <div class="">
            <input type="password" name="oldPassword" class="form-control" id="inputOldPassword" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorOldPassword"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupNewPassword">
        <label class=" control-label" for="inputNewPassword" id="labelNewPassword">
            <?= $text['label']['newPassword']; ?>
        </label>
        <div class="">
            <input type="password" name="newPassword" class="form-control" id="inputNewPassword" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorNewPassword"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupNewPasswordRepeat">
        <label class=" control-label" for="inputNewPasswordRepeat" id="labelNewPasswordRepeat">
            <?= $text['label']['newPasswordRepeat']; ?>:
        </label>
        <div class="">
            <input type="password" name="newPasswordRepeat" class="form-control" id="inputNewPasswordRepeat" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorNewPasswordRepeat"></span>
        </div>
    </div>

    <input type="submit" class="pull-right btn btn-success" name="submitChangePassword" id="submitChangePassword" value="<?= $text['submit']; ?>">
</form>