Skip to content
Snippets Groups Projects
Commit 703655b5 authored by Jonathan Foucher's avatar Jonathan Foucher
Browse files

fic tests + only show service field if activated

parent 62c9ddb1
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,9 @@ ...@@ -25,7 +25,9 @@
{{ form_row(form.manager) }} {{ form_row(form.manager) }}
{{ form_row(form.other_info) }} {{ form_row(form.other_info) }}
{{ form_row(form.service) }} {% if serviceEnabled is defined and serviceEnabled %}
{{ form_row(form.service) }}
{% endif %}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -75,6 +75,7 @@ class ToolTypeTest extends FormTypeHelper ...@@ -75,6 +75,7 @@ class ToolTypeTest extends FormTypeHelper
'type' => DictionaryType::class, 'type' => DictionaryType::class,
'description' => TextareaType::class, 'description' => TextareaType::class,
'other_info' => TextareaType::class, 'other_info' => TextareaType::class,
'service' => EntityType::class,
'editor' => TextType::class, 'editor' => TextType::class,
'manager' => TextType::class, 'manager' => TextType::class,
'contractors' => EntityType::class, 'contractors' => EntityType::class,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment