2018-05-17 14:31:19 +00:00
|
|
|
<ion-header>
|
2018-07-13 11:10:55 +00:00
|
|
|
<ion-navbar core-back-button>
|
2018-05-17 14:31:19 +00:00
|
|
|
<ion-title><core-format-text [text]="title"></core-format-text></ion-title>
|
|
|
|
<ion-buttons end>
|
2018-06-21 13:56:02 +00:00
|
|
|
<button ion-button clear (click)="save()" [attr.aria-label]="'core.save' | translate">
|
|
|
|
{{ 'core.save' | translate }}
|
2018-05-17 14:31:19 +00:00
|
|
|
</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>
|
2018-06-19 08:32:44 +00:00
|
|
|
<ion-select [(ngModel)]="selectedGroup" (ionChange)="setGroup(selectedGroup)" aria-labelledby="addon-data-groupslabel" interface="popover">
|
2018-05-17 14:31:19 +00:00
|
|
|
<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>
|