Add medical infos

This commit is contained in:
Xbird
2022-06-15 17:53:51 +00:00
parent 8d958cd7bf
commit ca1af41839
7 changed files with 112 additions and 1 deletions

View File

@@ -73,6 +73,24 @@ class DirectoryType extends AbstractType
if ($user->getAdminMode() || in_array('general_medical_view', $userPermissions)) {
$builder
->add('dead', null, ['label' => 'form_label_dead', 'help' => 'form_help_wanted'])
->add(
'medicalContact',
ContentType::class,
['label' => 'form_label_medical_contact',
'help' => 'form_help_medical_contact',
'required' => false,
'attr' => ['style' => 'height: 400px;']
]
)
->add(
'medicalTrusted',
ContentType::class,
['label' => 'form_label_medical_trusted',
'help' => 'form_help_medical_trusted',
'required' => false,
'attr' => ['style' => 'height: 400px;']
]
)
->add(
'medicalFamilyHistory',
ContentType::class,