Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
forms.py 536 B
from django import forms

class QualityAnnotationForm(forms.Form):
      annotation = forms.CharField(label='', widget=forms.Textarea(attrs={'rows': 12,'cols': 85}),required=False,max_length=1000)
      return_to_page = forms.IntegerField(widget=forms.HiddenInput)


class DiscardAnnotationForm(forms.Form):
    annotation = forms.CharField(label='', widget=forms.Textarea(attrs={'rows': 3, 'cols': 85}), required=False,
                                 max_length=250)
    return_to_page = forms.IntegerField(widget=forms.HiddenInput)