You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.5 KiB

  1. <form id="commentform" role="form" class="form-horizontal" data-token="@Blog.UniqueId">
  2. <fieldset>
  3. <legend>Post comment</legend>
  4. <div class="form-group">
  5. <label for="commentname" class="control-label col-sm-2">Name</label>
  6. <div class="col-sm-7">
  7. <input id="commentname" class="form-control" type="text" placeholder="Name" required />
  8. </div>
  9. </div>
  10. <div class="form-group">
  11. <label for="commentemail" class="control-label col-sm-2">Email</label>
  12. <div class="col-sm-7">
  13. <input id="commentemail" class="form-control" type="email" placeholder="Email" required />
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label for="commenturl" class="control-label col-sm-2">Website</label>
  18. <div class="col-sm-7">
  19. <input id="commenturl" class="form-control" type="url" placeholder="Website URL" />
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <div class="col-sm-12">
  24. <label for="commentcontent" class="control-label">Comment (no HTML allowed)</label>
  25. <textarea id="commentcontent" class="form-control" rows="4" placeholder="Comment" required></textarea>
  26. </div>
  27. </div>
  28. <div class="form-group col-sm-12">
  29. <button class="btn btn-primary">Post comment</button>
  30. <span id="status" class="alert" role="status" aria-live="polite"></span>
  31. </div>
  32. </fieldset>
  33. </form>