Set notes textarea to 5 rows

This commit is contained in:
Christopher C. Wells 2020-02-16 14:03:50 -08:00 committed by Christopher Charbonneau Wells
parent e3c2f0c0b9
commit 11164f0cd0
1 changed files with 5 additions and 0 deletions

View File

@ -125,6 +125,7 @@ class DiaperChangeForm(CoreModelForm):
'readonly': 'readonly', 'readonly': 'readonly',
'data-target': '#datetimepicker_time', 'data-target': '#datetimepicker_time',
}), }),
'notes': forms.Textarea(attrs={'rows': 5}),
} }
@ -141,6 +142,7 @@ class FeedingForm(CoreModelForm):
'readonly': 'readonly', 'readonly': 'readonly',
'data-target': '#datetimepicker_end', 'data-target': '#datetimepicker_end',
}), }),
'notes': forms.Textarea(attrs={'rows': 5}),
} }
@ -163,6 +165,7 @@ class SleepForm(CoreModelForm):
'readonly': 'readonly', 'readonly': 'readonly',
'data-target': '#datetimepicker_end', 'data-target': '#datetimepicker_end',
}), }),
'notes': forms.Textarea(attrs={'rows': 5}),
} }
@ -175,6 +178,7 @@ class TemperatureForm(CoreModelForm):
'readonly': 'readonly', 'readonly': 'readonly',
'data-target': '#datetimepicker_time', 'data-target': '#datetimepicker_time',
}), }),
'notes': forms.Textarea(attrs={'rows': 5}),
} }
@ -225,4 +229,5 @@ class WeightForm(CoreModelForm):
'readonly': 'readonly', 'readonly': 'readonly',
'data-target': '#datetimepicker_date', 'data-target': '#datetimepicker_date',
}), }),
'notes': forms.Textarea(attrs={'rows': 5}),
} }