32 lines
1.5 KiB
HTML
32 lines
1.5 KiB
HTML
|
<ion-header>
|
||
|
<ion-navbar>
|
||
|
<ion-title><core-format-text [text]="title"></core-format-text></ion-title>
|
||
|
<ion-buttons end>
|
||
|
<button ion-button icon-only (click)="save()" [attr.aria-label]="'core.save' | translate">
|
||
|
<ion-icon name="send"></ion-icon>
|
||
|
</button>
|
||
|
</ion-buttons>
|
||
|
</ion-navbar>
|
||
|
</ion-header>
|
||
|
<ion-content>
|
||
|
<core-loading [hideUntil]="loaded">
|
||
|
<ion-item text-wrap *ngIf="groupInfo && (groupInfo.separateGroups || groupInfo.visibleGroups)">
|
||
|
<ion-label id="addon-data-groupslabel" *ngIf="groupInfo.separateGroups">{{ 'core.groupsseparate' | translate }}</ion-label>
|
||
|
<ion-label id="addon-data-groupslabel" *ngIf="groupInfo.visibleGroups">{{ 'core.groupsvisible' | translate }}</ion-label>
|
||
|
<ion-select [(ngModel)]="selectedGroup" (ionChange)="setGroup(selectedGroup)" aria-labelledby="addon-data-groupslabel">
|
||
|
<ion-option *ngFor="let groupOpt of groupInfo.groups" [value]="groupOpt.id">{{groupOpt.name}}</ion-option>
|
||
|
</ion-select>
|
||
|
</ion-item>
|
||
|
|
||
|
<div class="addon-data-contents {{cssClass}}">
|
||
|
<style *ngIf="cssTemplate">
|
||
|
{{ cssTemplate }}
|
||
|
</style>
|
||
|
|
||
|
<form (ngSubmit)="save()" [formGroup]="editForm">
|
||
|
<core-compile-html [text]="editFormRender" [jsData]="jsData" [extraImports]="extraImports"></core-compile-html>
|
||
|
</form>
|
||
|
</div>
|
||
|
</core-loading>
|
||
|
</ion-content>
|