mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
N°3819 - Input: Migrate request templates input to new UIBlock system
This commit is contained in:
@@ -11,5 +11,6 @@
|
||||
{% endif %}
|
||||
{% if oUIBlock.GetAdditionalCSSClassesAsString() %} class="{{ oUIBlock.GetAdditionalCSSClassesAsString() }}"{% endif %}
|
||||
{% if oUIBlock.GetPlaceHolder() %} placeholder="{{ oUIBlock.GetPlaceHolder() }}" {% endif %}
|
||||
{% if oUIBlock.IsDisabled() %} disabled="disabled" {% endif %}
|
||||
>{{ oUIBlock.GetValue()|raw }}</textarea>
|
||||
{% endblock %}
|
||||
@@ -4,6 +4,7 @@
|
||||
{% block iboInput %}
|
||||
<select id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}"
|
||||
{% if oUIBlock.GetSubmitOnChange() %}onChange="this.form.submit();"{% endif %}
|
||||
{% if oUIBlock.IsMultiple() %}multiple{% endif %}
|
||||
class="{% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}"
|
||||
>
|
||||
{% for oSubBlock in oUIBlock.GetSubBlocks() %}
|
||||
|
||||
Reference in New Issue
Block a user