mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°8781 - Improve twig base controller render error report
This commit is contained in:
6
templates/application/forms/itop_error.html.twig
Normal file
6
templates/application/forms/itop_error.html.twig
Normal file
@@ -0,0 +1,6 @@
|
||||
{# @copyright Copyright (C) 2010-2025 Combodo SARL #}
|
||||
{# @license http://opensource.org/licenses/AGPL-3.0 #}
|
||||
|
||||
{% if sControllerError %}
|
||||
{% UIAlert ForDanger { sTitle:'UI:Error:TwigController'|dict_s, sContent:sControllerError } %}{% EndUIAlert %}
|
||||
{% endif %}
|
||||
@@ -5,7 +5,7 @@
|
||||
{% include "base/components/input/inputlabel.html.twig" %}
|
||||
{% endif %}
|
||||
<select id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}"
|
||||
{% if oUIBlock.GetSubmitOnChange() %} onChange="this.form.trigger('submit');" {% endif %}
|
||||
{% if oUIBlock.GetSubmitOnChange() %} onChange="$(this).parents('form:first').trigger('submit');" {% endif %}
|
||||
{% if oUIBlock.IsMultiple() %} multiple {% endif %}
|
||||
class="{% if oUIBlock.IsHidden() %}ibo-is-hidden{% endif %}{% if oUIBlock.GetAdditionalCSSClassesAsString() %} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}{% endif %}"
|
||||
{% if oUIBlock.GetDataAttributes() %}
|
||||
|
||||
Reference in New Issue
Block a user