41 lines
939 B
HTML
41 lines
939 B
HTML
{% extends theme_base %}
|
|
{% load static %}
|
|
|
|
{% block extra-top-head %}
|
|
{{script|safe}}
|
|
{% 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 form_side|safe %}
|
|
with-tracking-code
|
|
{% else %}
|
|
without-tracking-code
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block placeholder-content %}
|
|
{% block content %}
|
|
{% if form_side %}
|
|
<div class="form-content--sidebox" id="gauche">{{ form_side|safe }}</div>
|
|
{% endif %}
|
|
|
|
<div id="{{bigdiv|default:'rub_service'}}" class="{% if form_side %}has-sidebox{% endif %}">
|
|
{% if title %}<h2>{{ title }}</h2>{% endif %}
|
|
|
|
{% block body %}{{ body|safe }}{% endblock %}
|
|
</div>
|
|
{% endblock %}
|
|
{% endblock %}
|