<div id="editHtmlPageContent"  class="uk-card uk-card-default uk-padding">
    <div id="content">
        <div class="menubar fixed">
            <div class="sidebar-toggler visible-xs">
                <i class="ion-navicon"></i>
            </div>

            <div class="uk-text-large">Edit Html Page Content of page '{{pageName}}'</div>
        </div>

        <div class="content-wrapper">

            <div>
                <div *ngIf="errorMessage" class="uk-alert uk-alert-danger" role="alert">{{errorMessage}}</div>
                <div [style.display]="showLoading ? 'inline' : 'none'" class="uk-animation-fade uk-width-1-1" role="alert"><img class="uk-align-center loading-gif"></div>

                <!-- [mode]="mode"  -->
                <html-page-content-form [communityPid]="communityPid" [pageId]="pageId" [updateErrorMessage]="updateErrorMessage"></html-page-content-form>
                <button (click)="saveCustom()" class="uk-button uk-button-primary">Update html page</button>
                <button (click)="cancelCustom()" class="uk-button">Cancel</button>
            </div>
        </div>
    </div>
</div>
