1👍
class ReportForm(forms.ModelForm):
diagnosis = forms.CharField(widget=forms.Textarea(attrs={
'cols': 200,
'rows': 3,
'style': 'width: 100%'
}))
class Meta:
model = Report
Source:stackexchange.com
1👍
class ReportForm(forms.ModelForm):
diagnosis = forms.CharField(widget=forms.Textarea(attrs={
'cols': 200,
'rows': 3,
'style': 'width: 100%'
}))
class Meta:
model = Report