Cancel @if (mode === 'update') {

## @if (user.isCollaboratingToChannels()) { @if (user.isOwnerOfChannel(videoChannelEdit().apiInfo)) { } @else if (user.isEditorOfChannel(videoChannelEdit().apiInfo)) { } } @if (action.data.collaborate) { @if (action.data.editor) { } @else if (action.data.owner) { } }

} @else {

## Create a new channel

}
@if (videoChannelEdit()?.apiInfo.id) { Go to the public page } Save
@if (getError()) { {{ getError() }} } @else if (displayFormErrorsMsg && hasFormErrors()) {
There are errors in your channel settings.
@for (errorRoot of getAllFormErrors(); track errorRoot) {
{{ errorRoot.page }} page

@for (error of errorRoot.errors; track error) {
- {{ error }}
}

} }