Fix template error in oper blocks

This commit is contained in:
s3lph 2020-12-15 23:27:40 +01:00
parent 9da5bb086b
commit b3b63a7e47

View file

@ -142,8 +142,8 @@
password="{{ oper.password }}"
type="{{ oper.type }}"
{% if 'class' in oper %}class="{{ oper.class }}"{% endif %}
{% if 'hash' in oper %}hash="{{ hash.class }}"{% endif %}
{% if 'vhost' in oper %}vhost="{{ vhost.class }}"{% endif %}>
{% if 'hash' in oper %}hash="{{ oper.hash }}"{% endif %}
{% if 'vhost' in oper %}vhost="{{ oper.vhost }}"{% endif %}>
{% endfor %}