Changed the construction of element IDs that could trigger ad-blockers to avoid the problem.

- Legacy-Id: 15831
This commit is contained in:
Henrik Levkowetz 2018-12-18 14:47:26 +00:00
parent c8e15fad50
commit 3d2d9e2d0a

View file

@ -18,14 +18,14 @@
<ul class="nav nav-tabs" role="tablist">
{% for position in positions %}
<li {% if forloop.first %}class="active"{% endif %}>
<a data-toggle="tab" role="tab" href="#{{ position.name|slugify }}">{{ position.name }}</a>
<a data-toggle="tab" role="tab" href="#pos-{{ position.name|slugify }}">{{ position.name }}</a>
</li>
{% endfor %}
</ul>
<div class="tab-content">
{% for position in positions %}
<div class="tab-pane {% if forloop.first %}active{% endif %}" id="{{ position.name|slugify }}">
<div class="tab-pane {% if forloop.first %}active{% endif %}" id="pos-{{ position.name|slugify }}">
{{ position.get_requirement|safe }}
</div>
{% endfor %}