mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
Change html tags in order to update the "modal frame" with new bootstrap.js version
This commit is contained in:
@@ -1,31 +1,36 @@
|
||||
{% load i18n lib_tags %}
|
||||
<div class="modal-header">
|
||||
<a class="close" data-dismiss="modal">x</a>
|
||||
<h3>{{ title }} / <small>{{ subtitle }}</small></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form class="form-horizontal" action="{{ action }}" enctype="{{ enctype }}"
|
||||
method="POST" id="{{ formid }}" name="{{ formid }}">{% csrf_token %}
|
||||
<div id="wizard" class="carousel">
|
||||
<div class="carousel-inner">{% for step in steps %}
|
||||
<div id="step{{ forloop.counter }}"
|
||||
class="item{% if forloop.first %} active{% endif %}">
|
||||
{% if step.formtpl %}{% render_form step.form step.formtpl %}{% else %}{% render_form step.form %}{% endif %}
|
||||
</div>{% endfor %}
|
||||
|
||||
<div class="modal-dialog">
|
||||
<div class = "modal-content">
|
||||
<div class="modal-header">
|
||||
<a class="close" data-dismiss="modal">x</a>
|
||||
<h3>{{ title }} / <small>{{ subtitle }}</small></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form class="form-horizontal" action="{{ action }}" enctype="{{ enctype }}"
|
||||
method="POST" id="{{ formid }}" name="{{ formid }}">{% csrf_token %}
|
||||
<div id="wizard" class="carousel">
|
||||
<div class="carousel-inner">{% for step in steps %}
|
||||
<div id="step{{ forloop.counter }}"
|
||||
class="item{% if forloop.first %} active{% endif %}">
|
||||
{% if step.formtpl %}{% render_form step.form step.formtpl %}{% else %}{% render_form step.form %}{% endif %}
|
||||
</div>{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="buttons_list">
|
||||
{% for step in steps %}
|
||||
<div id="step{{ forloop.counter }}_buttons"
|
||||
class="bset{% if forloop.first %} active{% endif %}">
|
||||
{% for button in step.buttons %}
|
||||
<a href="#" class="btn {{ button.classes }}">{{ button.label }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Close" %}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="buttons_list">
|
||||
{% for step in steps %}
|
||||
<div id="step{{ forloop.counter }}_buttons"
|
||||
class="bset{% if forloop.first %} active{% endif %}">
|
||||
{% for button in step.buttons %}
|
||||
<a href="#" class="btn {{ button.classes }}">{{ button.label }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
<a class="btn" data-dismiss="modal">{% trans "Close" %}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user