from django.forms import ModelForm
from .models import DisputeModel

class DisputeCreateForm(ModelForm):
    class Meta:
        model = DisputeModel
        fields = ['dispute']
        #exclude = [ 'status', 'datetime_created', 'created_by', 'closed_by', 'close_comment', 'datetime_closed']


class DisputeCloseForm(ModelForm):
    class Meta:
        model = DisputeModel
        fields = ['close_comment']
        #exclude = [ 'status', 'datetime_created', 'created_by', 'closed_by', 'close_comment', 'datetime_closed']