Project

General

Profile

« Previous | Next » 

Revision 0259c7ef

Added by Jérôme Schneider over 12 years ago

dossiers: enable pause facturation and comment

View differences:

calebasse/dossiers/forms.py
29 29
    comment = forms.CharField(label='Commentaire',
30 30
            required=False, widget=forms.Textarea)
31 31

  
32
class GeneralForm(ModelForm):
33
    class Meta:
34
        model = PatientRecord
35
        fields = ('comment', 'pause')
36
        widgets = {
37
                'comment': forms.Textarea(attrs={'cols': 50, 'rows': 5}),
38
                }
39

  
32 40
class CivilStatusForm(ModelForm):
33 41
    class Meta:
34 42
        model = PatientRecord

Also available in: Unified diff