"for auth bootstrap 4"
Bootstrap 4.0.0 Snippet by kodakro

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div> <form class="form-horizontal" [formGroup]="replyForm" (ngSubmit)="saveReply(comment.auteur, comment.creation, 'replyNum' + comment._id)"> <div class="form-group"> <div class="col-md-offset-3 col-sm-12"> <textarea class="form-control replyTextArea" rows="5" id="comment" formControlName="contenu" required placeholder="Ajouter un commentaire ..."></textarea> </div> </div> <div class="form-group"> <div class="col-sm-offset-5 col-sm-6"> <input type="text" class="form-control col-xs-3 replyAuteur" id="auteur" formControlName="auteur" maxlength="50" required placeholder="Entrer votre nom ...."> <a href="/login">ddfsf</a> </div> </div> <div class="form-group"> <div class="col-md-offset-3 col-sm-12"> <button type="submit" class="btn btn-success replySubmit green float-right" [disabled]="replyForm.invalid"><i class="fa fa-share"></i> Publier</button> </div> </div> </form> </div>

Related: See More


Questions / Comments: