From 68adc696b9a5705d262c412f59a30d6ab9aac7f2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Sep 2024 16:08:36 +0200 Subject: [PATCH] Fix markdown textarea input id/name --- .../edit-basic-configuration.component.html | 2 +- .../edit-homepage.component.html | 2 +- .../edit-instance-information.component.html | 18 +++++++++--------- .../video-channel-edit.component.html | 2 +- .../my-video-playlist-edit.component.html | 2 +- .../shared/video-edit.component.html | 6 ++++-- .../dynamic-form-field.component.html | 4 ++-- .../markdown-textarea.component.html | 2 +- .../markdown-textarea.component.ts | 2 +- 9 files changed, 21 insertions(+), 19 deletions(-) diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html index ea8094d5f..79e9aa898 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html @@ -134,7 +134,7 @@ diff --git a/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html b/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html index 091d14ab7..7a8fcb3fe 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-homepage.component.html @@ -16,7 +16,7 @@ @@ -152,7 +152,7 @@ @@ -161,7 +161,7 @@ @@ -171,7 +171,7 @@
Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc
@@ -191,7 +191,7 @@
A single person? A non-profit? A company?
@@ -201,7 +201,7 @@
To share your personal videos? To open registrations and allow people to upload what they want?
@@ -211,7 +211,7 @@
It's important to know for users who want to register on your instance
@@ -221,7 +221,7 @@
With your own funds? With user donations? Advertising?
@@ -241,7 +241,7 @@
i.e. 2vCore 2GB RAM, a direct the link to the server you rent, etc.
diff --git a/client/src/app/+manage/video-channel-edit/video-channel-edit.component.html b/client/src/app/+manage/video-channel-edit/video-channel-edit.component.html index 97edeee84..58d1cf2f5 100644 --- a/client/src/app/+manage/video-channel-edit/video-channel-edit.component.html +++ b/client/src/app/+manage/video-channel-edit/video-channel-edit.component.html @@ -70,7 +70,7 @@ > diff --git a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html index 5ee74e6b1..7299e17d6 100644 --- a/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html +++ b/client/src/app/+my-library/my-video-playlists/my-video-playlist-edit.component.html @@ -54,7 +54,7 @@
- +
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html index c5d0c157c..3449839b2 100644 --- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html @@ -54,6 +54,7 @@ @@ -395,6 +396,7 @@
+ @@ -404,7 +406,7 @@
@@ -440,7 +442,7 @@
diff --git a/client/src/app/shared/shared-forms/dynamic-form-field.component.html b/client/src/app/shared/shared-forms/dynamic-form-field.component.html index d447395ce..5b10bf335 100644 --- a/client/src/app/shared/shared-forms/dynamic-form-field.component.html +++ b/client/src/app/shared/shared-forms/dynamic-form-field.component.html @@ -28,13 +28,13 @@ diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.html b/client/src/app/shared/shared-forms/markdown-textarea.component.html index 8a4877bd8..c120e9d38 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.html +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.html @@ -4,7 +4,7 @@ [(ngModel)]="content" (ngModelChange)="onModelChange()" class="form-control" [ngClass]="{ 'input-error': formError }" [attr.disabled]="disabled || null" - [id]="name" [name]="name" [dir]="dir"> + [id]="inputId" [name]="inputId" [dir]="dir">