mirror of https://github.com/Chocobozzz/PeerTube
Add help if the config is invalid
parent
99d103019c
commit
5b7c47a781
|
@ -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>
|
||||
|
|
|
@ -19,6 +19,11 @@ input[type=submit] {
|
|||
@include orange-button;
|
||||
|
||||
margin-top: 20px;
|
||||
|
||||
& + .form-error {
|
||||
display: inline;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.inner-form-title {
|
||||
|
|
Loading…
Reference in New Issue