<nz-card class="app-view app-${view.getCodeName()?lower_case}<#if !view.isShowCaptionBar()> app-view-nocaption</#if>" [nzBordered]="false" [nzTitle]="viewTitle" [nzExtra]="extraRight">
<#if (view.isEnableQuickSearch() || view.hasPSControl('toolbar'))>
<div class="toolbar-container2">
    <#if view.isEnableQuickSearch()>
    <nz-input-group<#if view.hasPSControl('searchform')><#if view.isExpandSearchForm??> [ngClass]="{ hidden: isExpandSearchForm }"</#if></#if>  [nzAddOnAfter]="suffixIconButton" nzSearch style="width: 400px;">
        <input type="text" nz-input [(ngModel)]="query"/>
    </nz-input-group>
    <ng-template #suffixIconButton>
        <button nz-button nzType="primary" nzSearch (click)="onSearch($event)"><i nz-icon nzType="search"></i></button>
    </ng-template>
    </#if>
    <#ibizinclude>
    ../@MACRO/HTML/VIEW_TOOLBAR.html.ftl
    </#ibizinclude>
    <div></div>
</div>
</#if>
<#if view.hasPSControl('searchform')>
${P.getCtrlCode('searchform', 'CONTROL.template').code}
</#if>
<#if view.hasPSControl('grid')>
${P.getCtrlCode('grid', 'CONTROL.template').code}
</#if>
</nz-card>
<#ibizinclude>
../@MACRO/HTML/VIEW_CAPTION.html.ftl
</#ibizinclude>
