framadate-responsive/mocks/old-stuff/pages/voting/comments-list/comments-list.component.html

34 lines
1.2 KiB
HTML
Raw Normal View History

<section class="name">
2020-04-21 10:50:26 +02:00
<label for="name">
2020-05-12 19:16:23 +02:00
<i class="fa fa-user" aria-hidden="true"></i>
2020-04-21 10:50:26 +02:00
Votre nom :</label
>
<input type="text" name="name" id="name" [(ngModel)]="config.myName" />
<input type="text" name="name" id="email" [(ngModel)]="config.myEmail" />
2020-05-12 19:16:23 +02:00
<i class="fa fa-envelope" aria-hidden="true"></i>
</section>
<div class="comments" id="comments">
2020-04-21 10:50:26 +02:00
<h2 class="margin-top-x7">Laisser un commentaire</h2>
<label for="crname">Votre nom :</label>
<input type="text" class="margin-btm-x3" name="crname" [(ngModel)]="config.myName" id="crname" />
<input type="text" name="cremail" id="email_comment" [(ngModel)]="config.myEmail" />
<label for="email_comment">
2020-05-12 19:16:23 +02:00
<i class="fa fa-envelope" aria-hidden="true"></i>
2020-04-21 10:50:26 +02:00
</label>
<div>
<label for="comment">Votre commentaire :</label>
<br />
<textarea name="comment" id="comment" [(ngModel)]="config.myComment"> </textarea>
</div>
<input
type="submit"
name="add-comment"
class="btn btn--primary btn--outline"
value="Ajouter mon commentaire"
(click)="config.addComment()"
/>
<div class="comments-part" *ngIf="config.currentPoll">
2020-04-22 12:56:18 +02:00
<app-voting-comment [comment]="c" *ngFor="let c of config.currentPoll.comments"> </app-voting-comment>
2020-04-21 10:50:26 +02:00
</div>
</div>