<option value="display">Display</option>
</select>
</div>
- <div *ngIf="formErrors.nsfwPolicy" class="form-error">
- {{ formErrors.nsfwPolicy }}
- </div>
</div>
<div class="form-group">
<span
class="help-tooltip-button"
+ title="Get help"
[popover]="tooltipTemplate"
- placement="right"
+ [placement]="tooltipPlacement"
[outsideClick]="true"
></span>
@Input() postHtml = ''
@Input() customHtml = ''
@Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'
+ @Input() tooltipPlacement = 'right'
mainHtml = ''
<input type="checkbox" id="nsfw" formControlName="nsfw" />
<label for="nsfw"></label>
<label for="nsfw">This video contains mature or explicit content</label>
+ <my-help tooltipPlacement="top" helpType="custom" customHtml="Some instances do not list NSFW videos by default."></my-help>
</div>
<div class="form-group form-group-checkbox">
@include peertube-select-disabled-container(auto);
}
+.form-group-checkbox {
+ my-help { margin-left: 5px }
+}
+
.video-edit {
height: 100%;
import './videos/video-blacklist'
import './videos/video-blacklist-management'
import './videos/video-description'
+import './videos/video-nsfw'
import './videos/video-privacy'
import './videos/services'
import './server/email'