templates: include class with section slug in cartads pieces widget (#35337)
This commit is contained in:
parent
9f2ceb50bc
commit
4c1dc49573
|
@ -4,7 +4,7 @@
|
|||
{% if form_tracking_code %}
|
||||
{% with webservice.cartads_pieces.data as pieces %}
|
||||
{% for piece in pieces %}
|
||||
{% if piece.section_start %}<div class="grid-1-1 newline"><h3>{{ piece.section_start }}</h3></div>{% endif %}
|
||||
{% if piece.section_start %}<div class="grid-1-1 newline {{ piece.section_start|slugify }}"><h3>{{ piece.section_start }}</h3></div>{% endif %}
|
||||
{% if piece.section_start == "Cerfa" %}
|
||||
{% for cerfa in webservice.cartads_cerfa.data %}
|
||||
<p>Télécharger : <a href="{{ cerfa.url }}">{{ cerfa.text }}</a></p>
|
||||
|
|
Loading…
Reference in New Issue