from django import forms
from .models import Case

class IntakeForm(forms.ModelForm):
    class Meta:
        model = Case
        fields = ['full_name', 'email', 'phone_number', 'description']
        widgets = {
            'full_name': forms.TextInput(attrs={'class': 'form-control'}),
            'email': forms.EmailInput(attrs={'class': 'form-control'}),
            'phone_number': forms.TextInput(attrs={'class': 'form-control'}),
            'description': forms.Textarea(attrs={'class': 'form-control', 'rows': 5}),
        }
