funky-framadate-front/src/app/features/shared/components/ui/form/errors-list/errors-list.component.html

19 lines
474 B
HTML
Raw Normal View History

2021-05-04 09:42:56 +02:00
<div
class="validation-error-list padded"
[ngClass]="{ 'has-background-warning': totalErrors > 0, 'has-background-success': totalErrors === 0 }"
>
2021-05-04 09:33:28 +02:00
<h1 class="title is-1">
Validation
</h1>
2021-05-04 09:42:56 +02:00
<span class="status marged"> statut: {{ form.status }} </span>
<strong class="marged has-background-warning total-errors" *ngIf="form && totalErrors">
2021-05-04 09:33:28 +02:00
{{ totalErrors }} erreurs de validation
2021-05-04 09:42:56 +02:00
</strong>
2021-05-04 09:33:28 +02:00
<ul>
<li *ngFor="let m of messages">
{{ m }}
</li>
</ul>
</div>