from django import forms
from tests.models import AnswerSheet

class AnswerForm(forms.ModelForm):
    class Meta:
        model = AnswerSheet
        fields = "__all__"
        exclude = ('m_sheet', 'correct_answer')

        widgets = {
            'my_answer': forms.TextInput(attrs={'class': 'form-control form-control-alternative'}),
        }
a4f087d90f425134e10b92198d2356805f42002b
<mask token>

<mask token>


class AnswerForm(forms.ModelForm):


    class Meta:
        model = AnswerSheet
        fields = '__all__'
        exclude = 'm_sheet', 'correct_answer'
        widgets = {'my_answer': forms.TextInput(attrs={'class':
            'form-control form-control-alternative'})}

from django import forms
from tests.models import AnswerSheet


class AnswerForm(forms.ModelForm):


    class Meta:
        model = AnswerSheet
        fields = '__all__'
        exclude = 'm_sheet', 'correct_answer'
        widgets = {'my_answer': forms.TextInput(attrs={'class':
            'form-control form-control-alternative'})}

from django import forms
from tests.models import AnswerSheet

class AnswerForm(forms.ModelForm):
    class Meta:
        model = AnswerSheet
        fields = "__all__"
        exclude = ('m_sheet', 'correct_answer')

        widgets = {
            'my_answer': forms.TextInput(attrs={'class': 'form-control form-control-alternative'}),
        }