modal.html 894 B

123456789101112131415161718192021222324
  1. {% load i18n %}
  2. <form method="POST">
  3. {% csrf_token %}
  4. <input type="hidden" name="action" value="move">
  5. {% for thread in threads %}
  6. <input type="hidden" name="item" value="{{ thread.pk }}">
  7. {% endfor %}
  8. <div class="modal-header">
  9. <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">{% trans "Close" %}</span></button>
  10. <h4 class="modal-title" id="ajaxModalLabel">
  11. <span class="fa fa-arrow-right fa-fw"></span>
  12. {% trans "Move threads" %}
  13. </h4>
  14. </div>
  15. <div class="modal-body modal-form">
  16. {% include "misago/threads/move/body.html" %}
  17. </div>
  18. <div class="modal-footer text-left">
  19. <button class="btn btn-primary" name="submit">{% trans "Move threads" %}</button>
  20. <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel" %}</button>
  21. </div>
  22. </form>