23 lines
637 B
HTML
23 lines
637 B
HTML
<div
|
|
class="validation-error-list padded"
|
|
[ngClass]="{ 'has-background-warning': totalErrors > 0, 'has-background-success': totalErrors === 0 }"
|
|
>
|
|
<h1 class="title is-1">
|
|
Validation
|
|
</h1>
|
|
<span class="status marged"> statut: {{ form.status }} </span>
|
|
<strong class="marged has-background-warning total-errors" *ngIf="form && totalErrors">
|
|
{{ totalErrors }} erreurs de validation
|
|
</strong>
|
|
<strong class="marged has-background-warning total-errors fixed-hint" *ngIf="form && totalErrors">
|
|
{{ totalErrors }}
|
|
<i class="fa fa-warning"></i>
|
|
</strong>
|
|
|
|
<ul>
|
|
<li *ngFor="let m of messages">
|
|
{{ m }}
|
|
</li>
|
|
</ul>
|
|
</div>
|