from django import forms
from .models import WhitelistEntry

class WhitelistForm(forms.ModelForm):
    class Meta:
        model = WhitelistEntry
        fields = ['gmail', 'eth_address']
        widgets = {
            'gmail': forms.EmailInput(attrs={'placeholder': 'Enter your Gmail address'}),
            'eth_address': forms.TextInput(attrs={'placeholder': 'Enter your Ethereum wallet address'}),
        }