2021-03-31 09:25:57 +02:00
|
|
|
<ion-header>
|
|
|
|
<ion-toolbar>
|
|
|
|
<ion-buttons slot="start">
|
2021-04-27 15:21:09 +02:00
|
|
|
<ion-back-button [text]="'core.back' | translate"></ion-back-button>
|
2021-03-31 09:25:57 +02:00
|
|
|
</ion-buttons>
|
2021-11-23 15:06:01 +01:00
|
|
|
<ion-title>
|
|
|
|
<h1>
|
2021-12-17 00:27:04 +01:00
|
|
|
<core-format-text [text]="title" contextLevel="module" [contextInstanceId]="moduleId" [courseId]="courseId">
|
2021-11-23 15:06:01 +01:00
|
|
|
</core-format-text>
|
|
|
|
</h1>
|
|
|
|
</ion-title>
|
2021-03-31 09:25:57 +02:00
|
|
|
<ion-buttons slot="end">
|
2021-05-21 16:15:50 +02:00
|
|
|
<ion-button *ngIf="entry" fill="clear" (click)="save($event)">
|
2021-03-31 09:25:57 +02:00
|
|
|
{{ 'core.save' | translate }}
|
|
|
|
</ion-button>
|
|
|
|
</ion-buttons>
|
|
|
|
</ion-toolbar>
|
|
|
|
</ion-header>
|
|
|
|
<ion-content>
|
|
|
|
<core-loading [hideUntil]="loaded">
|
2022-08-05 15:30:01 +02:00
|
|
|
<core-group-selector [groupInfo]="groupInfo" [(selected)]="selectedGroup" (selectedChange)="setGroup(selectedGroup)">
|
|
|
|
</core-group-selector>
|
2021-03-31 09:25:57 +02:00
|
|
|
|
|
|
|
<div class="addon-data-contents {{cssClass}}" *ngIf="database">
|
|
|
|
<core-style [css]="database.csstemplate" prefix=".{{cssClass}}"></core-style>
|
|
|
|
|
|
|
|
<form (ngSubmit)="save($event)" [formGroup]="editForm" #editFormEl>
|
|
|
|
<core-compile-html [text]="editFormRender" [jsData]="jsData" [extraImports]="extraImports"></core-compile-html>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</core-loading>
|
|
|
|
</ion-content>
|