|
|
|
|
@ -6,7 +6,7 @@
@@ -6,7 +6,7 @@
|
|
|
|
|
</form> |
|
|
|
|
<form #form [formGroup]="formGroup" *ngIf="!nameOnly"> |
|
|
|
|
<h2>{{ "generalInformation" | i18n }}</h2> |
|
|
|
|
<div class="tw-flex tw-w-full tw-space-x-4"> |
|
|
|
|
<div class="tw-flex tw-w-full tw-space-x-4" *ngIf="createOrganization"> |
|
|
|
|
<bit-form-field class="tw-w-1/2"> |
|
|
|
|
<bit-label>{{ "organizationName" | i18n }}</bit-label> |
|
|
|
|
<input bitInput type="text" formControlName="name" /> |
|
|
|
|
@ -15,18 +15,24 @@
@@ -15,18 +15,24 @@
|
|
|
|
|
<bit-label>{{ "billingEmail" | i18n }}</bit-label> |
|
|
|
|
<input bitInput type="email" formControlName="billingEmail" /> |
|
|
|
|
</bit-form-field> |
|
|
|
|
</div> |
|
|
|
|
<input |
|
|
|
|
type="checkbox" |
|
|
|
|
name="businessOwned" |
|
|
|
|
formControlName="businessOwned" |
|
|
|
|
(change)="changedBusinessOwned.emit()" |
|
|
|
|
/> |
|
|
|
|
<bit-label for="businessOwned" class="tw-mb-3">{{ "accountOwnedBusiness" | i18n }}</bit-label> |
|
|
|
|
<div class="tw-mt-4" *ngIf="formGroup.controls['businessOwned'].value"> |
|
|
|
|
<bit-form-field class="tw-w-1/2"> |
|
|
|
|
<bit-label>{{ "businessName" | i18n }}</bit-label> |
|
|
|
|
<input bitInput type="text" formControlName="businessName" /> |
|
|
|
|
<bit-form-field class="tw-w-1/2" *ngIf="isProvider"> |
|
|
|
|
<bit-label>{{ "clientOwnerEmail" | i18n }}</bit-label> |
|
|
|
|
<input bitInput type="email" formControlName="clientOwnerEmail" /> |
|
|
|
|
</bit-form-field> |
|
|
|
|
</div> |
|
|
|
|
<div *ngIf="!isProvider && !acceptingSponsorship"> |
|
|
|
|
<input |
|
|
|
|
type="checkbox" |
|
|
|
|
name="businessOwned" |
|
|
|
|
formControlName="businessOwned" |
|
|
|
|
(change)="changedBusinessOwned.emit()" |
|
|
|
|
/> |
|
|
|
|
<bit-label for="businessOwned" class="tw-mb-3">{{ "accountOwnedBusiness" | i18n }}</bit-label> |
|
|
|
|
<div class="tw-mt-4" *ngIf="formGroup.controls['businessOwned'].value"> |
|
|
|
|
<bit-form-field class="tw-w-1/2"> |
|
|
|
|
<bit-label>{{ "businessName" | i18n }}</bit-label> |
|
|
|
|
<input bitInput type="text" formControlName="businessName" /> |
|
|
|
|
</bit-form-field> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</form> |
|
|
|
|
|