aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-01 15:11:23 +0100
committerChocobozzz <me@florianbigard.com>2020-12-01 15:11:23 +0100
commit543e18726214aa789acecba5615fff1bec83d4cc (patch)
treec5128181743b9c8308c737bf7374c5efb27d40b2 /client
parent49cff3a4c950b22ae13f345dc4eab803d96a236e (diff)
downloadPeerTube-543e18726214aa789acecba5615fff1bec83d4cc.tar.gz
PeerTube-543e18726214aa789acecba5615fff1bec83d4cc.tar.zst
PeerTube-543e18726214aa789acecba5615fff1bec83d4cc.zip
Fix duplicate ids in admin config form
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
index 70533475a..a6485a4de 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
@@ -178,7 +178,7 @@
178 <div i18n class="label-small-info">To share your personal videos? To open registrations and allow people to upload what they want?</div> 178 <div i18n class="label-small-info">To share your personal videos? To open registrations and allow people to upload what they want?</div>
179 179
180 <my-markdown-textarea 180 <my-markdown-textarea
181 id="instanceCreationReason" formControlName="creationReason" textareaMaxWidth="500px" 181 name="instanceCreationReason" formControlName="creationReason" textareaMaxWidth="500px"
182 [ngClass]="{ 'input-error': formErrors['instance.creationReason'] }" 182 [ngClass]="{ 'input-error': formErrors['instance.creationReason'] }"
183 ></my-markdown-textarea> 183 ></my-markdown-textarea>
184 <div *ngIf="formErrors.instance.creationReason" class="form-error">{{ formErrors.instance.creationReason }}</div> 184 <div *ngIf="formErrors.instance.creationReason" class="form-error">{{ formErrors.instance.creationReason }}</div>
@@ -189,7 +189,7 @@
189 <div i18n class="label-small-info">It's important to know for users who want to register on your instance</div> 189 <div i18n class="label-small-info">It's important to know for users who want to register on your instance</div>
190 190
191 <my-markdown-textarea 191 <my-markdown-textarea
192 id="instanceMaintenanceLifetime" formControlName="maintenanceLifetime" textareaMaxWidth="500px" 192 name="instanceMaintenanceLifetime" formControlName="maintenanceLifetime" textareaMaxWidth="500px"
193 [ngClass]="{ 'input-error': formErrors['instance.maintenanceLifetime'] }" 193 [ngClass]="{ 'input-error': formErrors['instance.maintenanceLifetime'] }"
194 ></my-markdown-textarea> 194 ></my-markdown-textarea>
195 <div *ngIf="formErrors.instance.maintenanceLifetime" class="form-error">{{ formErrors.instance.maintenanceLifetime }}</div> 195 <div *ngIf="formErrors.instance.maintenanceLifetime" class="form-error">{{ formErrors.instance.maintenanceLifetime }}</div>
@@ -200,7 +200,7 @@
200 <div i18n class="label-small-info">With your own funds? With user donations? Advertising?</div> 200 <div i18n class="label-small-info">With your own funds? With user donations? Advertising?</div>
201 201
202 <my-markdown-textarea 202 <my-markdown-textarea
203 id="instanceBusinessModel" formControlName="businessModel" textareaMaxWidth="500px" 203 name="instanceBusinessModel" formControlName="businessModel" textareaMaxWidth="500px"
204 [ngClass]="{ 'input-error': formErrors['instance.businessModel'] }" 204 [ngClass]="{ 'input-error': formErrors['instance.businessModel'] }"
205 ></my-markdown-textarea> 205 ></my-markdown-textarea>
206 <div *ngIf="formErrors.instance.businessModel" class="form-error">{{ formErrors.instance.businessModel }}</div> 206 <div *ngIf="formErrors.instance.businessModel" class="form-error">{{ formErrors.instance.businessModel }}</div>