Fixes workflows to work without javascript.
Fixes bug 1006170. Change-Id: I8b873f06553208c7b257bd1c013809ed88a0ef60
This commit is contained in:
@@ -12,15 +12,18 @@
|
||||
<ul class="nav nav-tabs">
|
||||
{% for step in workflow.steps %}
|
||||
<li class="{% if entry_point == step.slug %}active{% endif %}{% if step.has_errors %} error{% endif %}">
|
||||
<a data-toggle="tab" data-target="#{{ step.get_id }}">{{ step }}</a>
|
||||
<a href="#{{ step.get_id }}" data-toggle="tab" data-target="#{{ step.get_id }}">{{ step }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
{% for step in workflow.steps %}
|
||||
<fieldset id="{{ step.get_id }}" class="tab-pane{% if entry_point == step.slug %} active{% endif %}">
|
||||
{{ step.render }}
|
||||
</fieldset>
|
||||
<fieldset id="{{ step.get_id }}" class="js-tab-pane{% if entry_point == step.slug %} active{% endif %}">
|
||||
{{ step.render }}
|
||||
</fieldset>
|
||||
{% if not forloop.last %}
|
||||
<noscript><hr /></noscript>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user