diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-02 11:39:14 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-02 11:39:14 +0200 |
commit | a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634 (patch) | |
tree | d8b27f30741ae3c9a2a72c68210644c16cd8d9b3 /client/src/app/+my-account/my-account-video-channels | |
parent | 21973012ab06a93dd901821dbbe078eb793bac4d (diff) | |
download | PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.tar.gz PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.tar.zst PeerTube-a6d5ff7604a3c2a94ff8814e2df7ca7bb2b48634.zip |
Use form-control to display box-shadow on form inputs/selects upon focus
Diffstat (limited to 'client/src/app/+my-account/my-account-video-channels')
-rw-r--r-- | client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html index 29d2b935d..59ac5097b 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.component.html | |||
@@ -33,7 +33,7 @@ | |||
33 | <div class="input-group"> | 33 | <div class="input-group"> |
34 | <input | 34 | <input |
35 | type="text" id="name" i18n-placeholder placeholder="Example: my_channel" | 35 | type="text" id="name" i18n-placeholder placeholder="Example: my_channel" |
36 | formControlName="name" [ngClass]="{ 'input-error': formErrors['name'] }" | 36 | formControlName="name" [ngClass]="{ 'input-error': formErrors['name'] }" class="form-control" |
37 | > | 37 | > |
38 | <div class="input-group-append"> | 38 | <div class="input-group-append"> |
39 | <span class="input-group-text">@{{ instanceHost }}</span> | 39 | <span class="input-group-text">@{{ instanceHost }}</span> |
@@ -52,7 +52,7 @@ | |||
52 | <div class="form-group"> | 52 | <div class="form-group"> |
53 | <label i18n for="display-name">Display name</label> | 53 | <label i18n for="display-name">Display name</label> |
54 | <input | 54 | <input |
55 | type="text" id="display-name" | 55 | type="text" id="display-name" class="form-control" |
56 | formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" | 56 | formControlName="display-name" [ngClass]="{ 'input-error': formErrors['display-name'] }" |
57 | > | 57 | > |
58 | <div *ngIf="formErrors['display-name']" class="form-error"> | 58 | <div *ngIf="formErrors['display-name']" class="form-error"> |
@@ -63,7 +63,7 @@ | |||
63 | <div class="form-group"> | 63 | <div class="form-group"> |
64 | <label i18n for="description">Description</label> | 64 | <label i18n for="description">Description</label> |
65 | <textarea | 65 | <textarea |
66 | id="description" formControlName="description" | 66 | id="description" formControlName="description" class="form-control" |
67 | [ngClass]="{ 'input-error': formErrors['description'] }" | 67 | [ngClass]="{ 'input-error': formErrors['description'] }" |
68 | ></textarea> | 68 | ></textarea> |
69 | <div *ngIf="formErrors.description" class="form-error"> | 69 | <div *ngIf="formErrors.description" class="form-error"> |