~ubuntu-branches/ubuntu/trusty/horizon/trusty

« back to all changes in this revision

Viewing changes to horizon/templates/horizon/common/_modal_form.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-03-09 11:50:22 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: package-import@ubuntu.com-20120309115022-fri2gwuw9vhnrjvt
Tags: upstream-2012.1~rc1~20120308.1479
ImportĀ upstreamĀ versionĀ 2012.1~rc1~20120308.1479

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<div id="{% block modal_id %}{% endblock %}" class="{% block modal_class %}modal{% if hide %} hide {% else %} static_page{% endif %}{% endblock %}">
 
2
  <div class="modal-header">
 
3
    {% if hide %}<a href="#" class="close" data-dismiss="modal">&times;</a>{% endif %}
 
4
    <h3>{% block modal-header %}{% endblock %}</h3>
 
5
  </div>
 
6
  {% if table %}
 
7
  <div class="modal-body">
 
8
  {{ table.render }}
 
9
  </div>
 
10
  <hr />
 
11
  {% endif %}
 
12
  <form id="{% block form_id %}{% endblock %}" class="{% block form_class %}{% endblock %}" action="{% block form_action %}{% endblock %}" method="{% block form-method %}POST{% endblock %}" {% block form_attrs %}{% endblock %}>{% csrf_token %}
 
13
    <div class="modal-body clearfix">
 
14
    {% block modal-body %}
 
15
        <fieldset>
 
16
        {% include "horizon/common/_form_fields.html" %}
 
17
        </fieldset>
 
18
    {% endblock %}
 
19
    </div>
 
20
    <div class="modal-footer">{% block modal-footer %}{% endblock %}</div>
 
21
  </form>
 
22
</div>