    <div class="ui-fixed-width" ng-form="connectionForm" tooltip-anchor tooltip-position="right">
        <label tooltip="{{::$ctrl.tooltips.server}}" class="ui-field">
            <span class="ui-field-label">{{::AnalysisServicesConnectionText.Label_Server}}</span>
            <input required type="text" name="server" class="ui-input-box ui-field-input"
                   ng-model="$ctrl.config.Server"
                   ng-model-options="{updateOn: 'blur'}"
                   ng-change="$ctrl.onConfigChanged({ resetPassword :true })">
            <span class="ui-validation ui-indicator-medium ui-indicator-error" text-tooltip="{{AnalysisServicesConnectionText.Validation_CubeServerIsEmpty}}" tooltip-position="right"></span>
        </label>
        <div class="ui-field">
            <span class="ui-field-label" tooltip="{{::$ctrl.tooltips.authentication}}">{{::AnalysisServicesConnectionText.Label_Authentication}}</span>
            <label tooltip="{{::$ctrl.tooltips.sqlUser}}" class="ui-radio">
                <input type="radio" ng-value="{{::Zap.DataSources.ConnectAsAccount.SqlUser}}"
                       ng-model="$ctrl.config.ConnectAs"
                       ng-change="$ctrl.onConfigChanged({ resetPassword :false })">
                <span class="ui-radio-label">{{::ConnectAsAccountText.ConnectAsAccount_SqlUser}}</span>
            </label>
            <label ng-if="$ctrl.azureUserLoginEnabled" tooltip="{{::$ctrl.tooltips.azureUser}}" class="ui-radio">
                <input type="radio" ng-value="{{::Zap.DataSources.ConnectAsAccount.AzureUserPassword}}"
                       ng-model="$ctrl.config.ConnectAs"
                       ng-change="$ctrl.onConfigChanges({ resetPassword :false })">
                <span class="ui-radio-label">{{::ConnectAsAccountText.ConnectAsAccount_AzureUserPassword}}</span>
            </label>
        </div>
        <label tooltip="{{::$ctrl.tooltips.username}}" class="ui-field ui-indented">
            <span class="ui-field-label">{{::AnalysisServicesConnectionText.SpecifyCredentials_DomainUserNameLabel}}</span>
            <input type="text" name="cubeConnectionUserName"
                   ng-model="$ctrl.config.DomainUserName"
                   ng-model-options="{updateOn: 'blur'}"
                   ng-change="$ctrl.onConfigChanged({ resetPassword :true })"
                   ng-required="$ctrl.config.ConnectAs == Zap.DataSources.ConnectAsAccount.SqlUser || $ctrl.config.ConnectAs == Zap.DataSources.ConnectAsAccount.AzureUserPassword"
                   ng-disabled="$ctrl.config.ConnectAs != Zap.DataSources.ConnectAsAccount.SqlUser && $ctrl.config.ConnectAs != Zap.DataSources.ConnectAsAccount.AzureUserPassword"
                   class="ui-input-box ui-field-input">
            <ng-messages for="connectionForm.cubeConnectionUserName.$error" class="ui-validation">
                <span ng-message="pattern" class="ui-indicator-medium ui-indicator-error" text-tooltip="{{::AnalysisServicesConnectionText.Validation_NoDomain}}" tooltip-position="right"></span>
                <span ng-message="required" class="ui-indicator-medium ui-indicator-error" text-tooltip="{{::AnalysisServicesConnectionText.Validation_UserNameIsEmpty}}" tooltip-position="right"></span>
            </ng-messages>
        </label>
        <label tooltip="{{::$ctrl.tooltips.password}}" class="ui-field ui-indented">
            <span class="ui-field-label">{{::AnalysisServicesConnectionText.SpecifyCredentials_PasswordLabel}}</span>
            <input type="password" class="ui-input-box ui-field-input"
                   name="password"
                   ng-model="$ctrl.password"
                   ng-model-options="{updateOn: 'blur'}"
                   ng-change="$ctrl.onConfigChanged({ resetPassword :false })"
                   ng-required="$ctrl.config.ConnectAs == Zap.DataSources.ConnectAsAccount.SqlUser || $ctrl.config.ConnectAs == Zap.DataSources.ConnectAsAccount.AzureUserPassword"
                   ng-disabled="$ctrl.config.ConnectAs != Zap.DataSources.ConnectAsAccount.SqlUser && $ctrl.config.ConnectAs != Zap.DataSources.ConnectAsAccount.AzureUserPassword">
            <span class="ui-validation ui-indicator-medium ui-indicator-error" text-tooltip="{{AnalysisServicesConnectionText.Validation_PasswordIsEmpty}}" tooltip-position="right"></span>
        </label>
    </div>
