<form id="formChangeAddress" onsubmit="return submitData(this);" data-target="changeAddress" method="post" class="form-horizontal">
	<div class="form-group">
		<?= printMessages('changeAddress') ?>
	</div>
    <div class="form-group has-feedback" id="groupFirstName">
        <label class="control-label" for="inputFirstName" id="labelFirstName">
            <?= $text['label']['firstName']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="firstName" id="inputFirstName" value="<?= getValue('firstName', $user['address']); ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorFirstName"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupLastName">
        <label class="control-label" for="inputLastName" id="labelLastName">
            <?= $text['label']['lastName']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="lastName" id="inputLastName" value="<?= getValue('lastName', $user['address']) ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorLastName"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupAddress">
        <label class="control-label" for="inputAddress" id="labelAddress">
            <?= $text['label']['address']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="address" id="inputAddress" value="<?= getValue('address', $user['address']) ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorAddress"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupPostalCode">
        <label class="control-label" for="inputPostalCode" id="labelPostalCode">
            <?= $text['label']['postalCode']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="postalCode" id="inputPostalCode" value="<?= getValue('postalCode', $user['address']) ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorPostalCode"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupCity">
        <label class="control-label" for="inputCity" id="labelCity">
            <?= $text['label']['city']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="city" id="inputCity" value="<?= getValue('city', $user['address']) ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorCity"></span>
        </div>
    </div>
    <div class="form-group has-feedback" id="groupPhoneNumber">
        <label class="control-label" for="inputPhoneNumber" id="labelPhoneNumber">
            <?= $text['label']['phoneNumber']; ?>
        </label>
        <div class="">
            <input type="text" class="form-control" name="phoneNumber" id="inputPhoneNumber" value="<?= getValue('phoneNumber', $user['address']) ?>" required>
            <span class="glyphicon form-control-feedback"></span>
            <span class="input-error text-danger" id="errorPhoneNumber"></span>
        </div>
    </div>

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