diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-settings/my-account-video-settings')
2 files changed, 4 insertions, 12 deletions
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html index 98587eb18..96629940f 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html +++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.html | |||
@@ -15,14 +15,10 @@ | |||
15 | </div> | 15 | </div> |
16 | </div> | 16 | </div> |
17 | 17 | ||
18 | <div class="form-group"> | 18 | <my-peertube-checkbox |
19 | <input | 19 | inputName="autoPlayVideo" formControlName="autoPlayVideo" |
20 | type="checkbox" id="autoPlayVideo" | 20 | i18n-labelText labelText="Automatically plays video" |
21 | formControlName="autoPlayVideo" | 21 | ></my-peertube-checkbox> |
22 | > | ||
23 | <label for="autoPlayVideo"></label> | ||
24 | <label i18n for="autoPlayVideo">Automatically plays video</label> | ||
25 | </div> | ||
26 | 22 | ||
27 | <input type="submit" i18n-value value="Save" [disabled]="!form.valid"> | 23 | <input type="submit" i18n-value value="Save" [disabled]="!form.valid"> |
28 | </form> | 24 | </form> |
diff --git a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss index ed59e4689..1881be762 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss +++ b/client/src/app/+my-account/my-account-settings/my-account-video-settings/my-account-video-settings.component.scss | |||
@@ -1,10 +1,6 @@ | |||
1 | @import '_variables'; | 1 | @import '_variables'; |
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | input[type=checkbox] { | ||
5 | @include peertube-checkbox(1px); | ||
6 | } | ||
7 | |||
8 | input[type=submit] { | 4 | input[type=submit] { |
9 | @include peertube-button; | 5 | @include peertube-button; |
10 | @include orange-button; | 6 | @include orange-button; |