N°3567 - Migrate backoffice pages to new UIBlock system : App. upgrade (use ibo-is-hidden class to hide blocks)

This commit is contained in:
Eric
2021-01-20 10:41:04 +01:00
parent 392cdf6058
commit 9b67f7beba
20 changed files with 27 additions and 33 deletions

View File

@@ -2,7 +2,7 @@
{% endblock %}
{% block iboInput %}
<input type="{{ oUIBlock.GetType() }}" id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}" value="{{ oUIBlock.GetValue()|raw }}"
class="{% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}"
{% if oUIBlock.IsChecked() %}checked="checked"{% endif %}
{% if oUIBlock.IsHidden() %}style="display: none;"{% endif %}
>
{% endblock %}