jinja2


SUBMITTED BY: ramlagan

DATE: July 4, 2016, 8:45 a.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 820

  1. +<!-- Comment form -->
  2. +<div class="comment-form" id="submit-comment-form">
  3. + <div class="page-header">
  4. + <h4 class="comment-form-title"><span class="glyphicon glyphicon-pencil"></span> Post a comment</h4>
  5. + </div>
  6. + <div class="form-horizontal">
  7. + <!-- Possible error messages -->
  8. + <div class="form-group">
  9. + <div class="col-sm-2"></div>
  10. + <div class="col-sm-8">
  11. + <div style="display: none;" class="alert alert-danger comment-form-errors">
  12. + </div>
  13. + </div>
  14. + </div>
  15. + <!-- Comment information -->
  16. + <div class="form-group">
  17. + <div class="col-sm-2"></div>
  18. + <div class="col-sm-8 comment-form-description">
  19. + You are posting a comment to <b>{{ paste.title }}</b>
  20. + </div>
  21. + </div>
  22. + <!-- Comment -->
  23. + <div class="form-group">
  24. + <label class="col-sm-2 control-label">Comment</label>
  25. + <div class="col-sm-8">
  26. + <textarea class="form-control comment-text-field" rows="10" maxlength="2000"></textarea>
  27. + </div>
  28. + </div>
  29. + <!-- Submit/Update -->
  30. + <div class="form-group">
  31. + <div class="col-sm-offset-2 col-sm-10">
  32. + <button onclick="pastebin.addComment()" class="btn btn-primary comment-form-button">Post comment</button>
  33. + </div>
  34. + </div>
  35. + </div>
  36. +</div>
  37. +<div id="delete-comment-form" style="display: none;" class="alert alert-danger delete-comment-form">
  38. + <strong>Are you sure you want to delete this comment?</strong><br>
  39. + <button class="btn btn-danger delete-comment-button-yes">Yes</button>
  40. + <button class="btn btn-primary delete-comment-button-no">No</button>
  41. +</div>

comments powered by Disqus