from django import forms
from .models import Business


class BusinessForm(forms.ModelForm):
    class Meta:
        model = Business
        fields = [
            'name', 'logo', 'email', 'phone',
            'address', 'currency', 'tax_pin'
        ]
        widgets = {
            'address': forms.Textarea(attrs={'rows': 3}),
        }