{# This template requires: #}
{# id: The modal's id #}
{# title: The modal title #}
{# body: The modal body#}
{# action: The URL to post "confirmed" to #}

<!-- Modal -->
<div id="{{ id }}" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">{{ title }}</h4>
      </div>
      <div class="modal-body">
        {{ body }}
      </div>
      <div class="modal-footer">
        <form action={{ action }} method="POST">
          {% csrf_token %}
          <input type="hidden" name="confirmed" value="true">
          <button type="button" class="btn btn-default btn-lg" data-dismiss="modal">No</button>
          <input class="btn btn-danger btn-lg" type="submit" value="Yes">
        </form>
      </div>
    </div>
  </div>
</div>

{# This template requires: #}
{# id: The modal's id #}
{# title: The modal title #}
{# body: The modal body #}
{# warning: Adds a 'warning' section in red font (optional) #}
{# action: The URL to post "confirmed" to #}

<!-- Modal -->
<div id="{{ id }}" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">{{ title }}</h4>
      </div>
      <div class="modal-body">
        <p>{{ body }}</p>
        {% if warning %}
          <p class="text-danger"><strong>WARNING:</strong> {{ warning }}</p>
        {% endif %}
      </div>
      <div class="modal-footer">
        <form action={{ action }} method="POST">
          {% csrf_token %}
          <input type="hidden" name="confirmed" value="true">
          <button type="button" class="btn btn-default btn-lg" data-dismiss="modal">No</button>
          <input class="btn btn-danger btn-lg" type="submit" value="Yes">
        </form>
      </div>
    </div>
  </div>
</div>

Add an optional 'warning' section
Add an optional 'warning' section
