N°2847 Fix twig missing templates (missing file or wrong case)

This commit is contained in:
Stephen Abello
2020-09-29 11:41:50 +02:00
parent b8d71b2bfb
commit c0337eaa23
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ namespace Combodo\iTop\Application\UI\Component\Input;
class InputWithLabel extends Input
{
public const HTML_TEMPLATE_REL_PATH = 'components/input/InputWithLabel';
public const HTML_TEMPLATE_REL_PATH = 'components/input/inputwithlabel';
/** @var string */
protected $sLabel;

View File

@@ -10,7 +10,7 @@ namespace Combodo\iTop\Application\UI\Component\Input;
class Select extends InputWithLabel
{
public const HTML_TEMPLATE_REL_PATH = 'components/input/Select';
public const HTML_TEMPLATE_REL_PATH = 'components/input/select';
/** @var array */
protected $aOptions;

View File

@@ -1,6 +1,6 @@
{# @copyright Copyright (C) 2010-2020 Combodo SARL #}
{# @license http://opensource.org/licenses/AGPL-3.0 #}
{% extends "components/input/inputwithLabel.html.twig" %}
{% extends "components/input/inputwithlabel.html.twig" %}
{% block iboInput %}
<select id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}">
{% for oSubBlock in oUIBlock.GetSubBlocks() %}