{% spaceless %}
{% if collection.legend %}<legend>{{ collection.legend }}</legend>{% endif %}
<django-stepper-collection>
	<ul class="stepper-horizontal">
{% for holder in collection %}
		<li prefix="{{ holder.prefix }}" class="stepper-step"{% if holder.induce_activate %} df-induce-activate="{{ holder.induce_activate }}"{% endif %}>
			<div class="stepper-head">
				<span class="stepper-head-icon{% if holder.step_label %} has-label{% endif %}">{{ forloop.counter }}</span>
				{{ holder.step_label }}
			</div>
		</li>
{% endfor %}
	</ul>
{% for holder in collection %}
	<django-form-collection{% if css_classes %} class="{{ css_classes }}"{% endif %}>
	{{ holder }}
	</django-form-collection>
{% endfor %}
{% if collection.help_text %}{% include help_text_template with help_text=collection.help_text %}{% endif %}
</django-stepper-collection>
{% endspaceless %}