Files
iTop/templates/base/components/input/select/selectoption.html.twig
2023-03-17 18:28:47 +01:00

4 lines
320 B
Twig

{# @copyright Copyright (C) 2010-2023 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
<option id="{{ oUIBlock.GetId() }}" value="{{ oUIBlock.GetValue() }}" {% if oUIBlock.IsSelected() %}selected{% endif %} {% if oUIBlock.IsDisabled() %}disabled{% endif %}>{{ oUIBlock.GetLabel() }}</option>