summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/views/maas/knowledge-base-management/edit-knowledge-base/edit-knowledge-base.component.html
blob: e181ee5cf93642c863eb4ace65021fbb963a1c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<nz-modal [(nzVisible)]="showModal" [nzTitle]="title" (nzOnCancel)="handleCancel()"
  (nzOnOk)="submitForm()" nzWidth="648px" nzHeight="800px">
  <form nz-form [formGroup]="validateForm" (ngSubmit)="checkForm()">
    <nz-form-item>
      <nz-form-label [nzSpan]="8" nzFor="name" nzRequired>Knowledge Base Name</nz-form-label>
      <nz-form-control [nzSpan]="12">
        <input nz-input class="disabled-input" formControlName="name" placeholder="Please input knowledge base name"/>
      </nz-form-control>
    </nz-form-item>
    <nz-form-item>
      <nz-form-label [nzSpan]="8" nzFor="description">Knowledge Base Description</nz-form-label>
      <nz-form-control [nzSpan]="12">
        <textarea rows="2" formControlName="description" nz-input></textarea>
      </nz-form-control>
    </nz-form-item>
  </form>
</nz-modal>