Add medical infos
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user