Files
Froxlor/templates/Maketank/user/form-replacers.html.twig
Udo Waechter 53a6485a6e
Some checks failed
continuous-integration/drone/push Build is failing
Maketank Theme migration
2024-01-30 13:52:59 +01:00

24 lines
671 B
Twig

{% extends "Froxlor/user/form.html.twig" %}
{% block content %}
{{ parent() }}
{% if replacers is not empty and replacers is iterable %}
<div class="card my-3">
<div class="card-body">
<h5 class="card-title">{{ lng('admin.templates.template_replace_vars') }}</h5>
<dl class="row">
{% for replacer in replacers.replacers %}
{% if (replacer.visible is defined and replacer.visible) or replacer.visible is not defined %}
<dt class="col-sm-3">{{ '{' }}{{ replacer.var }}{{ '}' }}</dt>
<dd class="col-sm-9">{{ replacer.description }}</dd>
{% endif %}
{% endfor %}
</dl>
</div>
</div>
{% endif %}
{% endblock %}