2019-08-10 18:14:00 +02:00
|
|
|
<div class="answers">
|
2019-08-21 14:24:54 +02:00
|
|
|
<h1 i18n>
|
|
|
|
Choisir les propositions
|
|
|
|
</h1>
|
2019-08-11 10:12:34 +02:00
|
|
|
|
2019-08-21 14:24:54 +02:00
|
|
|
<p class="subtitle" i18n>
|
2019-09-09 12:21:40 +02:00
|
|
|
Vous pouvez utiliser la syntaxe markdown
|
2019-08-21 14:24:54 +02:00
|
|
|
</p>
|
2019-08-11 10:12:34 +02:00
|
|
|
|
2019-08-21 14:24:54 +02:00
|
|
|
<ol>
|
|
|
|
<li #answers *ngFor="let answer of config.answers; index as i;trackBy trackFunction"
|
|
|
|
class="answer-item">
|
|
|
|
<input
|
2019-09-09 12:21:40 +02:00
|
|
|
type="text"
|
2019-08-21 14:24:54 +02:00
|
|
|
class="answer"
|
2019-09-09 12:21:40 +02:00
|
|
|
[(ngModel)]="answer.text"
|
2019-08-21 14:24:54 +02:00
|
|
|
placeholder="réponse"
|
|
|
|
>
|
|
|
|
<button (click)="config.answers.splice(i,1)">X</button>
|
|
|
|
</li>
|
|
|
|
</ol>
|
2019-08-11 10:12:34 +02:00
|
|
|
|
2019-08-21 14:24:54 +02:00
|
|
|
<button
|
2019-09-09 12:21:40 +02:00
|
|
|
class="btn_border"
|
2019-08-21 14:24:54 +02:00
|
|
|
(click)="addAnswer()"
|
2019-09-09 12:21:40 +02:00
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Ajouter une proposition
|
2019-08-21 14:24:54 +02:00
|
|
|
</button>
|
2019-09-09 12:21:40 +02:00
|
|
|
<br>
|
|
|
|
<button
|
|
|
|
[routerLink]="'/step/resume'"
|
|
|
|
class="btn_background btn_white_text"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Voyons ce que ça donne
|
|
|
|
</button>
|
|
|
|
<a class="prev" i18n>
|
|
|
|
Retour
|
|
|
|
</a>
|
2019-08-10 18:14:00 +02:00
|
|
|
</div>
|