Add help if the config is invalid

pull/607/head
Chocobozzz 2018-06-07 10:20:59 +02:00
parent 99d103019c
commit 5b7c47a781
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 6 additions and 0 deletions

View File

@ -272,4 +272,5 @@ Check this checkbox, save the configuration and test with a video URL of your in
</tabset>
<input (click)="formValidated()" type="submit" i18n-value value="Update configuration" [disabled]="!form.valid">
<span class="form-error" i18n *ngIf="!form.valid">It seems the configration is invalid. Please search potential errors in the different tabs.</span>
</form>

View File

@ -19,6 +19,11 @@ input[type=submit] {
@include orange-button;
margin-top: 20px;
& + .form-error {
display: inline;
margin-left: 5px;
}
}
.inner-form-title {