forked from CIT/Vmeda.Online
10 lines
496 B
HTML
10 lines
496 B
HTML
<!-- Render (no edit). -->
|
|
<ion-item *ngIf="!edit && field && field.name">
|
|
<h2>{{ field.name }}</h2>
|
|
<p><core-format-text [text]="field.value"></core-format-text></p>
|
|
</ion-item>
|
|
<!-- Edit. -->
|
|
<ion-item *ngIf="edit && field && field.shortname" text-wrap [formGroup]="form">
|
|
<ion-label stacked [core-mark-required]="field.required">{{ field.name }}</ion-label>
|
|
<core-rich-text-editor item-content [control]="control" [placeholder]="field.name"></core-rich-text-editor>
|
|
</ion-item> |