summaryrefslogtreecommitdiffstats
path: root/core/views/survex.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-12-28 17:04:36 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2024-12-28 17:04:36 +0000
commit4652d83b497a1b41d6ef4be5490f32cfa30ca33c (patch)
tree4aa22dc463817c848f77eacd0e4dea7275ca2e7b /core/views/survex.py
parent8dbad16ece1ebbe4f65b56bbc26c7be526bbe328 (diff)
downloadtroggle-4652d83b497a1b41d6ef4be5490f32cfa30ca33c.tar.gz
troggle-4652d83b497a1b41d6ef4be5490f32cfa30ca33c.tar.bz2
troggle-4652d83b497a1b41d6ef4be5490f32cfa30ca33c.zip
Comments adjusted
Diffstat (limited to 'core/views/survex.py')
-rw-r--r--core/views/survex.py6
1 files changed, 5 insertions, 1 deletions
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 <mta@gasthof.expo>'",
+ attrs={"size": 100, "placeholder": "You are editing this page, who are you ? e.g. 'Becka' or 'Animal <mta@gasthof.expo>'",
"style": "vertical-align: text-top;"}
)
)