funky-framadate-front/src/app/pages/answers/answers.component.html

32 lines
635 B
HTML
Raw Normal View History

2019-08-10 18:14:00 +02:00
<div class="answers">
2019-10-24 16:08:56 +02:00
<h1 i18n>
Choisir les propositions
</h1>
2019-10-24 16:08:56 +02:00
<p class="subtitle" i18n>
vous pouvez utiliser la syntaxe markdown
</p>
2019-10-24 16:08:56 +02:00
<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>
2019-10-24 16:08:56 +02:00
<button
(click)="addAnswer()"
class="btn-outline btn-block"
i18n>
Ajouter
</button>
2019-08-10 18:14:00 +02:00
2019-10-24 16:08:56 +02:00
<a [routerLink]="'/step/resume'" class="btn btn-block" i18n>Voyons ce que ça donne</a>
2019-08-10 18:14:00 +02:00
</div>