We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e0219 commit ae9d950Copy full SHA for ae9d950
src/Rule.php
@@ -2967,7 +2967,12 @@ public function showAndAddRuleForm($item)
2967
$canedit = self::canUpdate();
2968
2969
if ($canedit && ($item instanceof Entity)) {
2970
- $this->showForm($item->getField('id'), [
+ // language=Twig
2971
+ echo TemplateRenderer::getInstance()->renderFromStringTemplate(<<<TWIG
2972
+ {% import '/components/form/fields_macros.html.twig' as fields %}
2973
+ {{ fields.smallTitle(label) }}
2974
+TWIG, ['label' => $this->getTitle()]);
2975
+ $this->showForm(0, [
2976
'no_header' => true,
2977
'short' => true,
2978
'entities_id' => $item->getField('id'),
0 commit comments