Skip to content

Commit ee493fc

Browse files
committed
Fix dropdown fields for twig
1 parent 17d4cb5 commit ee493fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

templates/connection_form.html.twig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,28 +67,28 @@
6767

6868
{% if item.isField('plugin_connections_connectionrates_id') %}
6969
{{ fields.dropdownField(
70-
'ConnectionRate',
70+
'GlpiPlugin\\Connections\\ConnectionRate',
7171
"plugin_connections_connectionrates_id",
7272
item.fields['plugin_connections_connectionrates_id'],
73-
'ConnectionRate'|itemtype_name,
73+
'GlpiPlugin\\Connections\\ConnectionRate'|itemtype_name,
7474
) }}
7575
{% endif %}
7676

7777
{% if item.isField('plugin_connections_connectiontypes_id') %}
7878
{{ fields.dropdownField(
79-
'ConnectionType',
79+
'GlpiPlugin\\Connections\\ConnectionType',
8080
"plugin_connections_connectiontypes_id",
8181
item.fields['plugin_connections_connectiontypes_id'],
82-
'ConnectionType'|itemtype_name,
82+
'GlpiPlugin\\Connections\\ConnectionType'|itemtype_name,
8383
) }}
8484
{% endif %}
8585

8686
{% if item.isField('plugin_connections_guaranteedconnectionrates_id') %}
8787
{{ fields.dropdownField(
88-
'GuaranteedConnectionRate',
88+
'GlpiPlugin\\Connections\\GuaranteedConnectionRate',
8989
"plugin_connections_guaranteedconnectionrates_id",
9090
item.fields['plugin_connections_guaranteedconnectionrates_id'],
91-
'GuaranteedConnectionRate'|itemtype_name,
91+
'GlpiPlugin\\Connections\\GuaranteedConnectionRate'|itemtype_name,
9292
) }}
9393
{% endif %}
9494

0 commit comments

Comments
 (0)