N°3746 - Migrate modal to new UIBlock system

This commit is contained in:
acognet
2021-02-26 10:05:02 +01:00
parent 1060c0ca94
commit cebbc215d7
38 changed files with 1094 additions and 868 deletions

View File

@@ -1,8 +1,14 @@
{% block iboInputLabel %}
{% endblock %}
{% block iboInput %}
<textarea
id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}"
cols="{{ oUIBlock.GetCols() }}" rows="{{ oUIBlock.GetRows() }}"
<textarea
id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}"
cols="{{ oUIBlock.GetCols() }}" rows="{{ oUIBlock.GetRows() }}"
{% if oUIBlock.GetDataAttributes() %}
{% for sName, sValue in oUIBlock.GetDataAttributes() %}
data-{{ sName }}="{{ sValue }}"
{% endfor %}
{% endif %}
{% if oUIBlock.GetPlaceHolder() %} placeholder="{{ oUIBlock.GetPlaceHolder() }}" {% endif %}
>{{ oUIBlock.GetValue()|raw }}</textarea>
{% endblock %}