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.

40 lines
1.7 KiB

  1. {% load hc_extras %}
  2. <div id="email-settings-modal" class="modal">
  3. <div class="modal-dialog">
  4. <form
  5. action="{% url 'hc-email-settings' check.code %}"
  6. class="form-horizontal"
  7. method="post">
  8. {% csrf_token %}
  9. <div class="modal-content">
  10. <div class="modal-header">
  11. <button type="button" class="close" data-dismiss="modal">&times;</button>
  12. <h4 class="update-timeout-title">Inbound Email Settings</h4>
  13. </div>
  14. <div class="modal-body">
  15. <div class="form-group">
  16. <label for="update-name-input" class="col-sm-4 control-label">
  17. Subject Must Contain
  18. </label>
  19. <div class="col-sm-7">
  20. <input
  21. name="subject"
  22. type="text"
  23. value="{{ check.subject }}"
  24. class="input-name form-control" />
  25. <span class="help-block">
  26. If set, {% site_name %} will ignore emails
  27. without this value in the Subject line.
  28. </span>
  29. </div>
  30. </div>
  31. </div>
  32. <div class="modal-footer">
  33. <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
  34. <button type="submit" class="btn btn-primary">Save</button>
  35. </div>
  36. </div>
  37. </form>
  38. </div>
  39. </div>