<div id="change-profile-container" class="col-md-12">
    <div class="row">
        <h3 class="col-md-12">{{'profile.headers.EDIT_PROFILE' | translate}}</h3>
        <form class="col-md-12">
            <div class="edit-profile-list col-md-12">
                <div id="name-container" class="profile-container col-md-12">
                    <label class="col-md-2">{{'profile.forms.labels.NAME' | translate}}</label>
                    <input class="col-md-2" type="text" ng-model="data.name" required />
                </div>
                <div id="phone-container" class="profile-container col-md-12">
                    <label class="col-md-2">{{'profile.forms.labels.PHONE' | translate}}</label>
                    <input class="col-md-2" type="text" ng-model="data.phone" required />
                </div>
            </div>

            <div class="col-md-12">
                <input type="submit"
                    id="save-profile-button"
                    class="btn btn-success"
                    ng-click="saveProfile()" />
            </div>
        </form>
    </div>

    <div class="row" ng-if="isCompanyAdmin(data.isCompanyAdmin)">
        <h3 class="col-md-12">{{'profile.headers.EDIT_COMPANY' | translate}}</h3>
        <form class="col-md-12">
            <div class="edit-profile-list col-md-12">
                <div id="company-name-container" class="profile-container col-md-12">
                    <label class="col-md-2">{{'profile.forms.labels.COMPANY_NAME' | translate}}</label>
                    <input class="col-md-2" type="text" ng-model="data.companyName" required />
                </div>
                <div id="vat-container" class="profile-container col-md-12">
                    <label class="col-md-2">{{'profile.forms.labels.VAT' | translate}}</label>
                    <input class="col-md-2" type="text" ng-model="data.vatCode" required />
                </div>
            </div>

            <div class="col-md-12">
                <input type="submit"
                    id="save-copmany-button"
                    class="btn btn-success"
                    ng-click="saveCompany()" />
            </div>
        </form>
    </div>
</div>
