mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +00:00

The language is more thorough in describing how to use the form, in an effort to help improve the overall quality of submissions to pgsql-docs.
9 lines
386 B
Python
9 lines
386 B
Python
from django import forms
|
|
|
|
class DocCommentForm(forms.Form):
|
|
name = forms.CharField(max_length=100, required=True, label='Your Name')
|
|
email = forms.EmailField(max_length=100, required=True, label='Your Email')
|
|
shortdesc = forms.CharField(max_length=100, required=True, label="Subject")
|
|
details = forms.CharField(required=True, widget=forms.Textarea,
|
|
label="What is your comment?")
|