mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
Add UIBlocks to twig (new blocks)
This commit is contained in:
@@ -44,7 +44,7 @@ class UIFieldNode extends Node
|
||||
->write("\${$sBlockVar} = Combodo\\iTop\\Application\\UI\\Base\\Component\\Field\\FieldFactory::Make{$sType}(\$sLabel, \$sValue);\n")
|
||||
->write("\${$sBlockVar}->SetValueId(\$sValueId);\n");
|
||||
break;
|
||||
// TODO 3.0 add other FieldFactory methods
|
||||
// TODO 3.0 add other Factory methods
|
||||
|
||||
default:
|
||||
throw new SyntaxError(sprintf('%s: Bad type "%s" for %s at line %d', $this->getTemplateName(), $sType, $this->tag, $this->lineno), $this->lineno, $this->getSourceContext());
|
||||
|
||||
Reference in New Issue
Block a user