38 lines
884 B
HTML
38 lines
884 B
HTML
<div class="admin-form">
|
|
<header>
|
|
<h2 classs="title is-2">
|
|
{{ 'creation.title' | translate }}
|
|
</h2>
|
|
<app-stepper [step_current]="pollService.step_current" [step_max]="pollService.step_max"></app-stepper>
|
|
</header>
|
|
<section class="step-container">
|
|
<router-outlet>
|
|
<app-step-one [form]="form"></app-step-one>
|
|
</router-outlet>
|
|
</section>
|
|
<footer>
|
|
<div class="columns">
|
|
<div class="column">
|
|
<button
|
|
class="button is-large is-secondary"
|
|
[routerLink]="pollService.previousRouteName"
|
|
*ngIf="pollService.step_current != 1"
|
|
>
|
|
précédent
|
|
</button>
|
|
</div>
|
|
<div class="column">
|
|
<!-- [disabled]="form.invalid"-->
|
|
<button
|
|
class="button is-primary is-large is-pulled-right"
|
|
[routerLink]="[pollService.nextRouteName, { from: route }]"
|
|
>
|
|
suivant
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<hr />
|
|
</div>
|