mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- Add ancestors CSS classes on UIBlocks when missing (programmatically) - Fix SCSS due to some blocks inheriting their ancestors rules
16 lines
876 B
Twig
16 lines
876 B
Twig
{% block iboInputLabel %}
|
|
{% endblock %}
|
|
{% block iboInput %}
|
|
<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.GetAdditionalCSSClassesAsString() %} class="{{ oUIBlock.GetBlocksInheritanceCSSClassesAsString() }} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}"{% endif %}
|
|
{% if oUIBlock.GetPlaceHolder() %} placeholder="{{ oUIBlock.GetPlaceHolder() }}" {% endif %}
|
|
{% if oUIBlock.IsDisabled() %} disabled {% endif %}
|
|
>{{ oUIBlock.GetValue()|raw }}</textarea>
|
|
{% endblock %} |