From 4652d83b497a1b41d6ef4be5490f32cfa30ca33c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 28 Dec 2024 17:04:36 +0000 Subject: Comments adjusted --- core/views/survex.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/views/survex.py') diff --git a/core/views/survex.py b/core/views/survex.py index 56d447f..07eab38 100644 --- a/core/views/survex.py +++ b/core/views/survex.py @@ -145,6 +145,10 @@ class SvxForm(forms.Form): """Two-pane form, upper half is the raw survex file, lower half (with green background) is the output : of running 'cavern' on the survex file, of running a 'difference', of checking that there are no square brackets left. + + This is not a ModelForm. + see https://docs.djangoproject.com/en/5.1/topics/forms/modelforms/ + """ dirname = forms.CharField(widget=forms.TextInput(attrs={"readonly": True})) @@ -154,7 +158,7 @@ class SvxForm(forms.Form): code = forms.CharField(widget=forms.Textarea(attrs={"cols": 140, "rows": 36})) who_are_you = forms.CharField( widget=forms.TextInput( - attrs={"size": 100, "placeholder": "You are editing this page, who are you ? e.g. 'Animal '", + attrs={"size": 100, "placeholder": "You are editing this page, who are you ? e.g. 'Becka' or 'Animal '", "style": "vertical-align: text-top;"} ) ) -- cgit v1.2.3