diff options
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | 1 | ||||
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss | 5 |
2 files changed, 6 insertions, 0 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 4a6c631fb..7f0323601 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 | |||
@@ -272,4 +272,5 @@ Check this checkbox, save the configuration and test with a video URL of your in | |||
272 | </tabset> | 272 | </tabset> |
273 | 273 | ||
274 | <input (click)="formValidated()" type="submit" i18n-value value="Update configuration" [disabled]="!form.valid"> | 274 | <input (click)="formValidated()" type="submit" i18n-value value="Update configuration" [disabled]="!form.valid"> |
275 | <span class="form-error" i18n *ngIf="!form.valid">It seems the configration is invalid. Please search potential errors in the different tabs.</span> | ||
275 | </form> | 276 | </form> |
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss index e81044554..4c9167211 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.scss | |||
@@ -19,6 +19,11 @@ input[type=submit] { | |||
19 | @include orange-button; | 19 | @include orange-button; |
20 | 20 | ||
21 | margin-top: 20px; | 21 | margin-top: 20px; |
22 | |||
23 | & + .form-error { | ||
24 | display: inline; | ||
25 | margin-left: 5px; | ||
26 | } | ||
22 | } | 27 | } |
23 | 28 | ||
24 | .inner-form-title { | 29 | .inner-form-title { |