<form id="formChangeEmailAddress" onsubmit="return submitData(this);" data-target="changeEmailAddress" method="post" class="form-horizontal">
	<div class="form-group">
		<?= printMessages('changeEmailAddress') ?>
	</div>
    <div class="form-group has-feedback" id="groupOldEmailAddress">
        <label class=" control-label" for="inputOldEmailAddress" id="labelOldEmailAddress">
            <?= $text['label']['oldEmailAddress']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="oldEmailAddress" value="<?= getValue('oldEmailAddress'); ?>" id="inputOldEmailAddress" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorOldEmailAddress"></span>
        </div>
    </div>

    <div class="form-group has-feedback" id="groupNewEmailAddress">
        <label class=" control-label" for="inputNewEmailAddress" id="labelNewEmailAddress">
            <?= $text['label']['newEmailAddress']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="newEmailAddress" value="<?= getValue('newEmailAddress'); ?>" id="inputNewEmailAddress" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorNewEmailAddress"></span>
        </div>
    </div>

    <div class="form-group has-feedback" id="groupNewEmailAddressRepeat">
        <label class=" control-label" for="inputRepeatEmailAddress" id="labelNewEmailAddressRepeat">
            <?= $text['label']['newEmailAddressRepeat']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="newEmailAddressRepeat" value="<?= getValue('newEmailAddressRepeat'); ?>" id="inputNewEmailAddressRepeat" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorNewEmailAddressRepeat"></span>
        </div>
    </div>

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