Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form class="form-horizontal" id="commentForm" role="form">
- <div class="form-group">
- <label for="email" class="col-sm-2 control-label">Title</label>
- <div class="col-sm-10">
- <textarea class="form-control" name="addComment" id="commentTitel" rows="1"></textarea>
- </div>
- </div>
- <div class="form-group">
- <label for="email" class="col-sm-2 control-label">Comment</label>
- <div class="col-sm-10">
- <textarea class="form-control" name="addComment" id="comment" rows="5"></textarea>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button class="btn btn-success btn-circle text-uppercase" type="submit" onsubmit="validateComment()" id="submitComment"><span class="glyphicon glyphicon-send"></span> Submit comment</button>
- </div>
- </div>
- <input type="hidden" id="userId" value="<?php echo $_SESSION["userId"]?>">
- <input type="hidden" id="commentDatum" value="<?php echo date('Y-m-d') ?>">
- <input type="hidden" id="blogId" value="<?php echo $blog->blogId; ?>">
- </form>
- <script src="vendor/jquery/jquery.min.js"></script>
- <script src="../js/scripts.js"></script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement