<commit_before>from django.forms.widgets import CheckboxSelectMultiple

from .models import Feedback
from cms.forms import ContentManageableModelForm


class FeedbackForm(ContentManageableModelForm):

    class Meta(object):
        model = Feedback
        fields = (
            'name',
            'email',
            'country',
            'feedback_categories',
            'issue_type',
            'comment'
        )
        widgets = {
            'feedback_categories': CheckboxSelectMultiple()
        }


class FeedbackMiniForm(ContentManageableModelForm):
    class Meta(object):
        model = Feedback
        fields = (
            'comment',
        )<commit_msg>Removed the annoying 'Hold down "Control", or "Command" on a Mac, to select more than one.' help_text from the feedback form. Fixes #16.<commit_after>from django.forms.widgets import CheckboxSelectMultiple

from .models import Feedback
from cms.forms import ContentManageableModelForm


class FeedbackForm(ContentManageableModelForm):

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.fields['feedback_categories'].help_text = None

    class Meta(object):
        model = Feedback
        fields = (
            'name',
            'email',
            'country',
            'feedback_categories',
            'issue_type',
            'comment'
        )
        widgets = {
            'feedback_categories': CheckboxSelectMultiple()
        }


class FeedbackMiniForm(ContentManageableModelForm):
    class Meta(object):
        model = Feedback
        fields = (
            'comment',
        )
{'fraction_non_alphanumeric': 0.08951563458001226, 'fraction_numerical': 0.001226241569589209, 'mean_word_length': 2.2189349112426036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7204112', 'n_tokens_mistral': 446, 'n_tokens_neox': 418, 'n_words': 102}