mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
Add UIBlocks to twig (Generalize IsHidden parameter)
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
{% block iboInput %}
|
||||
<input type="{{ oUIBlock.GetType() }}" id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}" value="{{ oUIBlock.GetValue()|raw }}"
|
||||
{% if oUIBlock.IsChecked() %}checked="checked"{% endif %}
|
||||
{% if oUIBlock.IsHidden() %}style="display: none;"{% endif %}
|
||||
>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user