<p-panel [showHeader]="false"> <div *ngIf="crawler; else info" class="ui-g ui-width-100-" style="height: 180px; overflow: auto"> <div class="ui-g-12" *ngFor="let item of inputItems"> <span class="md-inputfield"> <input id="name" type="text" pInputText /> <label for="name">User</label> </span> </div> </div> <ng-template #info> <div>개발자의 배려가 돋보이는 친절한 안내 메시지</div> </ng-template> <div dir="rtl"> <button *ngIf="crawler" type="button" label="Test" icon="ui-icon-send" pButton class="ui-button-width-fit" (click)="testCredentials()"></button> </div> </p-panel>