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-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> <app-success [poll]="pollService.form.value"></app-success>
<div class="columns"> <div class="columns">

View File

@ -2,7 +2,7 @@
<div class="min-height"> <div class="min-height">
<form action="#" [formGroup]="pollService.form"> <form action="#" [formGroup]="pollService.form">
<app-stepper [step_current]="4" [step_max]="pollService.step_max"></app-stepper> <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"> <div class="creator-infos">
<label class="" for="creatorEmail"> <label class="" for="creatorEmail">
<span> <span>
@ -49,7 +49,7 @@
</div> </div>
<div class="columns"> <div class="columns">
<div class="column"> <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 précédent
</button> </button>
</div> </div>
@ -60,5 +60,4 @@
</button> </button>
</div> </div>
</div> </div>
<app-errors-list [form]="pollService.form"></app-errors-list>
</div> </div>

View File

@ -1,6 +1,6 @@
<div class="min-height"> <div class="min-height">
<app-stepper [step_current]="3" [step_max]="5"></app-stepper> <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--> <!-- choix spécialement pour les dates-->
<div class="dates-list"> <div class="dates-list">
<div class="title"> <div class="title">

View File

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