{% extends "horizon/client_side/template.html" %}
{% load horizon %}

{% block id %}modal_template{% endblock %}

{% block template %}{% spaceless %}{% jstemplate %}
<div class="modal">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class='modal-header'>
        <a class='close' data-dismiss='modal'>&times;</a>
        <h3>[[title]]</h3>
      </div>
      <div class='modal-body'>
        [[body]]
      </div>
      <div class='modal-footer'>
        <a href='#' class='btn btn-primary'>[[confirm]]</a>
        <a href='#' class='btn btn-default cancel' data-dismiss='modal'>[[cancel]]</a>
      </div>
    </div>
  </div>
</div>
{% endjstemplate %}{% endspaceless %}{% endblock %}
