This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
rouen-publik-theme/templates/variants/rouen/wcs/base.html

42 lines
917 B
HTML

{% extends theme_base %}
{% load static %}
{% block extra-top-head %}
{{script|safe}}
<script src="{% static 'dataview.js' %}"></script>
{% endblock %}
{% block extra-body-class %}
{{ block.super }}
{% if form_slug %}
{% if category_slug %}formdef-category-{{category_slug}}{% endif %}
formdef-{{form_slug}}
{% endif %}
{% if '"steps-1"' in steps|safe %}
one-step
{% else %}
multi-steps
{% endif %}
{% if 'tracking-code' in gauche|safe %}
with-tracking-code
{% else %}
without-tracking-code
{% endif %}
{% endblock %}
{% block placeholder-content %}
{% block content %}
{% if gauche %}
<div id="gauche">{{ gauche|safe }}</div>
{% endif %}
<div id="{{bigdiv|default:'rub_service'}}" class="{% if gauche %}has-sidebox{% endif %}">
{% if title %}<h2>{{ title }}</h2>{% endif %}
{% block body %}{{ body|safe }}{% endblock %}
</div>
{% endblock %}
{% endblock %}