+
+ <div class="form-group">
+ <label i18n for="role">Role</label>
+ <div class="peertube-select-container">
+ <select id="role" formControlName="role" class="form-control">
+ <option *ngFor="let role of roles" [value]="role.value">
+ {{ role.label }}
+ </option>
+ </select>
+ </div>
+
+ <div *ngIf="formErrors.role" class="form-error">
+ {{ formErrors.role }}
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label i18n for="videoQuota">Video quota</label>
+ <div class="peertube-select-container">
+ <select id="videoQuota" formControlName="videoQuota" class="form-control">
+ <option *ngFor="let videoQuotaOption of videoQuotaOptions" [value]="videoQuotaOption.value" [disabled]="videoQuotaOption.disabled">
+ {{ videoQuotaOption.label }}
+ </option>
+ </select>
+ </div>
+
+ <div i18n class="transcoding-information" *ngIf="isTranscodingInformationDisplayed()">
+ Transcoding is enabled. The video quota only takes into account <strong>original</strong> video size. <br />
+ At most, this user could upload ~ {{ computeQuotaWithTranscoding() | bytes: 0 }}.
+ </div>
+ </div>
+
+ <div class="form-group">
+ <label i18n for="videoQuotaDaily">Daily video quota</label>
+ <div class="peertube-select-container">
+ <select id="videoQuotaDaily" formControlName="videoQuotaDaily" class="form-control">
+ <option *ngFor="let videoQuotaDailyOption of videoQuotaDailyOptions" [value]="videoQuotaDailyOption.value" [disabled]="videoQuotaDailyOption.disabled">
+ {{ videoQuotaDailyOption.label }}
+ </option>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="byPassAutoBlock" formControlName="byPassAutoBlock"
+ i18n-labelText labelText="Doesn't need review before a video goes public"
+ ></my-peertube-checkbox>
+ </div>
+
+ <input type="submit" value="{{ getFormButtonTitle() }}" [disabled]="!form.valid">
+ </form>
+
+ <div *ngIf="isInBigView()" class="col-7">
+ <ng-template *ngTemplateOutlet="dashboard"></ng-template>
+ </div>
+
+ </div>
+</div>
+
+
+<div *ngIf="!isCreation() && user" class="form-row mt-4"> <!-- danger zone grid -->
+ <div class="form-group col-12 col-lg-4 col-xl-3">
+ <div class="anchor" id="danger"></div> <!-- danger zone anchor -->
+ <div i18n class="account-title">DANGER ZONE</div>
+ </div>
+
+ <div class="form-group form-group-right col-12 col-lg-8 col-xl-9" [ngClass]="{ 'form-row': isInBigView() }">
+
+ <div class="danger-zone">
+ <div class="form-group reset-password-email">
+ <label i18n>Send a link to reset the password by email to the user</label>
+ <button (click)="resetPassword()" i18n>Ask for new password</button>
+ </div>