From 4ee6a8b13edb0dd6186139f3a6589b06139f464b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 21 Jan 2020 10:47:56 +0100 Subject: Fix admin config form for auto follow --- .../edit-custom-config.component.html | 17 ++++++++--------- .../edit-custom-config/edit-custom-config.component.ts | 6 ++++-- .../app/shared/forms/markdown-textarea.component.html | 2 +- .../src/app/shared/forms/markdown-textarea.component.ts | 1 + 4 files changed, 14 insertions(+), 12 deletions(-) (limited to 'client/src') 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 f61593677..e5340234b 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 @@ -30,7 +30,7 @@
{{ formErrors.instance.description }}
@@ -101,7 +101,7 @@
{{ formErrors.instance.terms }}
@@ -110,7 +110,7 @@
{{ formErrors.instance.codeOfConduct }}
@@ -121,7 +121,7 @@
Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc
{{ formErrors.instance.moderationInformation }}
@@ -134,7 +134,7 @@
A single person? A non-profit? A company?
@@ -181,7 +181,7 @@
2vCore 2GB RAM/or directly the link to the server you rent etc
@@ -239,7 +239,7 @@ inputName="signupRequiresEmailVerification" formControlName="requiresEmailVerification" i18n-labelText labelText="Signup requires email verification" > - +
⚠️ This functionality requires a lot of attention and extra moderation. -
+
+ [id]="name" [name]="name"> diff --git a/client/src/app/shared/forms/markdown-textarea.component.ts b/client/src/app/shared/forms/markdown-textarea.component.ts index 0c5788899..19cd37573 100644 --- a/client/src/app/shared/forms/markdown-textarea.component.ts +++ b/client/src/app/shared/forms/markdown-textarea.component.ts @@ -28,6 +28,7 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit { @Input() truncate: number @Input() markdownType: 'text' | 'enhanced' = 'text' @Input() markdownVideo = false + @Input() name = 'description' textareaMarginRight = '0' flexDirection = 'column' -- cgit v1.2.3