MOBILE-4470 wiki: Style wiki edit page like others
parent
1d135e62d2
commit
7ef7c91a7a
|
@ -20,12 +20,12 @@
|
||||||
<core-loading [hideUntil]="loaded">
|
<core-loading [hideUntil]="loaded">
|
||||||
<form [formGroup]="pageForm" #editPageForm *ngIf="loaded">
|
<form [formGroup]="pageForm" #editPageForm *ngIf="loaded">
|
||||||
<ion-item class="ion-text-wrap" *ngIf="canEditTitle">
|
<ion-item class="ion-text-wrap" *ngIf="canEditTitle">
|
||||||
<ion-input [ariaLabel]="'addon.mod_wiki.newpagetitle' | translate" name="title" type="text"
|
<ion-input labelPlacement="stacked" [label]="'addon.mod_wiki.newpagetitle' | translate" name="title" type="text"
|
||||||
[placeholder]="'addon.mod_wiki.newpagetitle' | translate" formControlName="title" />
|
[placeholder]="'addon.mod_wiki.newpagetitle' | translate" formControlName="title" />
|
||||||
</ion-item>
|
</ion-item>
|
||||||
|
|
||||||
<ion-item>
|
<ion-item>
|
||||||
<ion-label class="sr-only">{{ 'core.content' | translate }}</ion-label>
|
<ion-label position="stacked" for="wiki_page_content">{{ 'core.content' | translate }}</ion-label>
|
||||||
<core-rich-text-editor [control]="contentControl" [placeholder]="'core.content' | translate" name="wiki_page_content"
|
<core-rich-text-editor [control]="contentControl" [placeholder]="'core.content' | translate" name="wiki_page_content"
|
||||||
[component]="component" [componentId]="cmId" [autoSave]="true" contextLevel="module" [contextInstanceId]="cmId"
|
[component]="component" [componentId]="cmId" [autoSave]="true" contextLevel="module" [contextInstanceId]="cmId"
|
||||||
elementId="newcontent_editor" [draftExtraParams]="editorExtraParams" />
|
elementId="newcontent_editor" [draftExtraParams]="editorExtraParams" />
|
||||||
|
|
Loading…
Reference in New Issue