aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/users/user-edit/user-edit.component.html
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-07-14 23:36:15 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-11 08:46:35 +0200
commit62fc691548594bc96fd43e0c29dcd4191cb525f5 (patch)
treeb7084bf7eff3b77aa91ddaa65d9c6b875150de60 /client/src/app/+admin/users/user-edit/user-edit.component.html
parentc2165d607e63c825fef9d3e13cbee2ba3baf92bc (diff)
downloadPeerTube-62fc691548594bc96fd43e0c29dcd4191cb525f5.tar.gz
PeerTube-62fc691548594bc96fd43e0c29dcd4191cb525f5.tar.zst
PeerTube-62fc691548594bc96fd43e0c29dcd4191cb525f5.zip
Add channel_name field to create-user view
Diffstat (limited to 'client/src/app/+admin/users/user-edit/user-edit.component.html')
-rw-r--r--client/src/app/+admin/users/user-edit/user-edit.component.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/app/+admin/users/user-edit/user-edit.component.html b/client/src/app/+admin/users/user-edit/user-edit.component.html
index d103f8e2f..0c7900529 100644
--- a/client/src/app/+admin/users/user-edit/user-edit.component.html
+++ b/client/src/app/+admin/users/user-edit/user-edit.component.html
@@ -90,6 +90,17 @@
90 </div> 90 </div>
91 </div> 91 </div>
92 92
93 <div class="form-group" *ngIf="isCreation()">
94 <label i18n for="channelName">Channel name</label>
95 <input
96 type="text" id="channelName" i18n-placeholder placeholder="john_channel" class="form-control"
97 formControlName="channelName" [ngClass]="{ 'input-error': formErrors['channelName'] }"
98 >
99 <div *ngIf="formErrors.channelName" class="form-error">
100 {{ formErrors.channelName }}
101 </div>
102 </div>
103
93 <div class="form-group"> 104 <div class="form-group">
94 <label i18n for="email">Email</label> 105 <label i18n for="email">Email</label>
95 <input 106 <input