funky-framadate-front/src/app/pages/answers/answers.component.html
2019-08-21 14:24:54 +02:00

31 lines
776 B
HTML

<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"
class="answer-item">
<input
[(ngModel)]="answer.text"
class="answer"
placeholder="réponse"
type="text"
>
<button (click)="config.answers.splice(i,1)">X</button>
</li>
</ol>
<button
(click)="addAnswer()"
class="btn-outline btn-block">
Ajouter
</button>
<a [routerLink]="'/step/resume'" class="btn btn-block">Voyons ce que ça donne</a>
</div>