forked from tykayn/funky-framadate-front
62 lines
1.5 KiB
HTML
62 lines
1.5 KiB
HTML
<section class="name" >
|
|
<label for="name" >
|
|
<i class='fa fa-user' ></i >
|
|
Votre nom :</label >
|
|
<input
|
|
type="text"
|
|
name="name"
|
|
id="name"
|
|
[(ngModel)]="config.myName" >
|
|
<input
|
|
type="text"
|
|
name="name"
|
|
id="email"
|
|
[(ngModel)]="config.myEmail" >
|
|
<i class='fa fa-envelope' ></i >
|
|
</section >
|
|
<div
|
|
class="comments"
|
|
id='comments' >
|
|
<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' >
|
|
<i class='fa fa-envelope' ></i >
|
|
</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' >
|
|
|
|
<framadate-voting-comment
|
|
[comment]="c"
|
|
*ngFor="let c of config.currentPoll.comments " >
|
|
</framadate-voting-comment >
|
|
</div >
|
|
</div >
|