Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.21 KB | None | 0 0
  1. <form class="form-horizontal" id="commentForm" role="form">
  2.     <div class="form-group">
  3.         <label for="email" class="col-sm-2 control-label">Title</label>
  4.         <div class="col-sm-10">
  5.             <textarea class="form-control" name="addComment" id="commentTitel" rows="1"></textarea>
  6.         </div>
  7.     </div>
  8.     <div class="form-group">
  9.         <label for="email" class="col-sm-2 control-label">Comment</label>
  10.         <div class="col-sm-10">
  11.             <textarea class="form-control" name="addComment" id="comment" rows="5"></textarea>
  12.         </div>
  13.     </div>
  14.  
  15.     <div class="form-group">
  16.         <div class="col-sm-offset-2 col-sm-10">
  17.             <button class="btn btn-success btn-circle text-uppercase" type="submit" onsubmit="validateComment()" id="submitComment"><span class="glyphicon glyphicon-send"></span> Submit comment</button>
  18.         </div>
  19.     </div>
  20.     <input type="hidden" id="userId" value="<?php echo $_SESSION["userId"]?>">
  21.     <input type="hidden" id="commentDatum" value="<?php echo date('Y-m-d') ?>">
  22.     <input type="hidden" id="blogId" value="<?php echo $blog->blogId; ?>">
  23. </form>
  24. <script src="vendor/jquery/jquery.min.js"></script>
  25. <script src="../js/scripts.js"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement