regroup error list on top of page

This commit is contained in:
Tykayn 2021-11-12 17:31:47 +01:00 committed by tykayn
parent b9aea18d34
commit 7b82b5506d
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<app-stepper [step_current]="5" [step_max]="5"></app-stepper>
<app-errors-list [form]="pollService.form"></app-errors-list>
<app-success [poll]="pollService.form.value"></app-success>
<div class="columns">

View File

@ -2,7 +2,7 @@
<div class="min-height">
<form action="#" [formGroup]="pollService.form">
<app-stepper [step_current]="4" [step_max]="pollService.step_max"></app-stepper>
<app-errors-list [form]="pollService.form"></app-errors-list>
<div class="creator-infos">
<label class="" for="creatorEmail">
<span>
@ -49,7 +49,7 @@
</div>
<div class="columns">
<div class="column">
<button class="button is-secondary is-fullwidth" [routerLink]="['/administration/step/4']">
<button class="button is-secondary is-fullwidth" [routerLink]="['/administration/step/3']">
précédent
</button>
</div>
@ -60,5 +60,4 @@
</button>
</div>
</div>
<app-errors-list [form]="pollService.form"></app-errors-list>
</div>

View File

@ -1,6 +1,6 @@
<div class="min-height">
<app-stepper [step_current]="3" [step_max]="5"></app-stepper>
<app-errors-list [form]="pollService.form"></app-errors-list>
<!-- choix spécialement pour les dates-->
<div class="dates-list">
<div class="title">

View File

@ -1,6 +1,7 @@
<div class="form-field poll-kind">
<div class="min-height">
<app-stepper [step_current]="2" [step_max]="5"></app-stepper>
<app-errors-list [form]="pollService.form"></app-errors-list>
<h2 class="title is-2">
{{ 'creation.want' | translate }}
</h2>