Mess commit.
This commit is contained in:
@@ -1,36 +1,37 @@
|
||||
@if ((isLoading$ | async) == true) {
|
||||
<mat-spinner></mat-spinner>
|
||||
}
|
||||
}
|
||||
@else {
|
||||
<!-- <ng-template #afterLoadingPart> -->
|
||||
@if (publication) {
|
||||
<form [formGroup]="publicationEditionForm" (submit)="save()" ngNativeValidate>
|
||||
<header>
|
||||
<h1>Modification de l'article {{ publication.title }}</h1>
|
||||
|
||||
</header>
|
||||
|
||||
<mat-tab-group dynamicHeight>
|
||||
<mat-tab label="Edition">
|
||||
<div class="form-content">
|
||||
<mat-form-field class="example-form-field">
|
||||
<mat-label>Title</mat-label>
|
||||
<input matInput type="text" formControlName="title" />
|
||||
</mat-form-field>
|
||||
<div class="first-part">
|
||||
<div>
|
||||
<mat-form-field>
|
||||
<mat-label>Title</mat-label>
|
||||
<input matInput type="text" formControlName="title" />
|
||||
</mat-form-field>
|
||||
<mat-form-field>
|
||||
<mat-label>Description</mat-label>
|
||||
<input matInput type="text" formControlName="description" />
|
||||
</mat-form-field>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<img src="/api/pictures/{{publication.illustrationId}}" (click)="displayPictureSectionDialog()" matTooltip="Click to change illustration"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<mat-form-field class="example-form-field">
|
||||
<mat-label>Picture</mat-label>
|
||||
<input matInput type="text" formControlName="illustrationId" />
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field class="example-form-field">
|
||||
<mat-label>Description</mat-label>
|
||||
<input matInput type="text" formControlName="description" />
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field class="example-form-field">
|
||||
<mat-label>Content</mat-label>
|
||||
<textarea matInput formControlName="text"></textarea>
|
||||
<textarea matInput formControlName="text" class="text-input"></textarea>
|
||||
</mat-form-field>
|
||||
</div>
|
||||
</mat-tab>
|
||||
@@ -55,9 +56,4 @@
|
||||
<h1>Publication failed to load...</h1>
|
||||
</div>
|
||||
}
|
||||
|
||||
<!-- <ng-template #loadingFailedMessage>
|
||||
|
||||
</ng-template> -->
|
||||
<!-- </ng-template> -->
|
||||
}
|
||||
Reference in New Issue
Block a user