framadate-responsive/src/app/pages/answers/answers.component.html

29 lines
642 B
HTML
Raw Normal View History

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"
class="answer-item">
2019-08-10 18:14:00 +02:00
<input
type="text"
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"
(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>