Revision 428081e0
Added by Jérôme Schneider over 12 years ago
calebasse/dossiers/forms.py | ||
---|---|---|
55 | 55 |
class InscriptionForm(ModelForm): |
56 | 56 |
class Meta: |
57 | 57 |
model = PatientRecord |
58 |
fields = ('analysemotive', 'famillymotive', 'advicegiver')
|
|
58 |
fields = ('analysemotive', 'familymotive', 'advicegiver') |
|
59 | 59 |
widgets = {} |
60 | 60 |
|
61 |
class FamillyForm(ModelForm):
|
|
61 |
class FamilyForm(ModelForm): |
|
62 | 62 |
class Meta: |
63 | 63 |
model = PatientRecord |
64 | 64 |
fields = ('sibship_place', 'nb_children_family', 'twinning_rank', |
65 |
'parental_authority', 'familly_situation', 'child_custody') |
|
65 |
'parental_authority', 'family_situation', 'child_custody') |
|
66 |
|
|
67 |
class TransportFrom(ModelForm): |
|
68 |
class Meta: |
|
69 |
model = PatientRecord |
|
70 |
fields = ('transporttype', 'transportcompany') |
|
71 |
|
|
72 |
class FollowUpForm(ModelForm): |
|
73 |
class Meta: |
|
74 |
model = PatientRecord |
|
75 |
fields = ('coordinators', 'externaldoctor', 'externalintervener') |
|
66 | 76 |
|
Also available in: Unified diff
dossiers: rename familly to family and add transport and follow-up forms