2019-08-10 18:14:00 +02:00
|
|
|
<div class="answers">
|
|
|
|
|
|
|
|
<h1 i18n>
|
|
|
|
Choisir les propositions
|
|
|
|
</h1>
|
|
|
|
<p class="subtitle" i18n>
|
|
|
|
vous pouvez utiliser la syntaxe markdown
|
|
|
|
</p>
|
|
|
|
<ol>
|
|
|
|
<li #answers *ngFor="let answer of config.answers; index as i;trackBy trackFunction"
|
2019-08-10 18:31:15 +02:00
|
|
|
class="answer-item">
|
2019-08-10 18:14:00 +02:00
|
|
|
<input
|
|
|
|
type="text"
|
2019-08-10 18:31:15 +02:00
|
|
|
class="answer"
|
2019-08-10 18:14:00 +02:00
|
|
|
[(ngModel)]="answer.text"
|
|
|
|
placeholder="réponse"
|
|
|
|
>
|
|
|
|
<button (click)="config.answers.splice(i,1)">X</button>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<button
|
|
|
|
class="btn-outline btn-block"
|
2019-08-10 18:31:15 +02:00
|
|
|
(click)="addAnswer()">
|
2019-08-10 18:14:00 +02:00
|
|
|
Ajouter
|
|
|
|
</button>
|
|
|
|
<a [routerLink]="'/step/recapitulatif'" class="btn btn-block">Voyons ce que ça donne</a>
|
|
|
|
|
|
|
|
</div>
|