Browse Source

feat: add abp-extensible-form to the tenants.component.html

pull/6635/head
mehmet-erim 6 years ago
parent
commit
23d061905a
  1. 31
      npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html

31
npm/ng-packs/packages/tenant-management/src/lib/components/tenants/tenants.component.html

@ -51,36 +51,7 @@
<ng-template #tenantModalTemplate>
<form [formGroup]="tenantForm" (ngSubmit)="save()" validateOnSubmit>
<div class="mt-2">
<div class="form-group">
<label for="name">{{ 'AbpTenantManagement::TenantName' | abpLocalization }}</label>
<input type="text" id="name" class="form-control" formControlName="name" autofocus />
</div>
<div class="form-group" *ngIf="tenantForm.controls.adminEmailAddress">
<label for="name">{{
'AbpTenantManagement::DisplayName:AdminEmailAddress' | abpLocalization
}}</label>
<input
autocomplete="email"
type="email"
id="admin-email-address"
class="form-control"
formControlName="adminEmailAddress"
/>
</div>
<div class="form-group" *ngIf="tenantForm.controls.adminPassword">
<label for="name">{{
'AbpTenantManagement::DisplayName:AdminPassword' | abpLocalization
}}</label>
<input
autocomplete="new-password"
type="password"
id="admin-password"
class="form-control"
formControlName="adminPassword"
/>
</div>
</div>
<abp-extensible-form [selectedRecord]="selected"></abp-extensible-form>
</form>
</ng-template>

Loading…
Cancel
Save