from django import forms


class CommentForm(forms.Form):
    content = forms.CharField(
        label="",
        widget=forms.Textarea(attrs={
            "rows": 3,
            "placeholder": "Écrire un commentaire…",
        }),
        max_length=5000,
    )
    parent = forms.IntegerField(required=False, widget=forms.HiddenInput())
