Skip to content

Commit 42ab381

Browse files
authored
Update README.md
1 parent cb667fa commit 42ab381

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Temporarily you need to modify a glpi file
1111

1212
Add
1313

14-
`{{ call_plugin_hook(constant('Glpi\\Plugin\\Hooks::POST_ITEM_FORM'), {'item': item, 'options': params}) }}`
14+
`{{ call_plugin_hook(constant('Glpi\\Plugin\\Hooks::PRE_ITEM_FORM'), {'item': item, 'options': params ?? []}) }}`
1515

16-
Juste before
16+
Juste after
1717

18-
`{% endblock %}`
18+
`{% import "components/form/fields_macros.html.twig" as fields %}`
1919

20-
at the end of the glpi file : \templates\components\itilobject\itilsatisfaction.html.twig
20+
at the beginning of the glpi file : \templates\components\itilobject\itilsatisfaction.html.twig
2121

2222
Features
2323
--------

0 commit comments

Comments
 (0)