from django.forms import ModelForm

from .models import Organization, Donation, BoardMember

class OrganizationForm(ModelForm):
    class Meta:
        model = Organization
        labels = {
            'description': 'About Us',
            'mission_statement': 'Mission Statement'
        }
        fields = [
            'name', 'fiscal_sponsor', 'ein', 'contact_name', 'contact_title', 'contact_email', 'address', 'city', 
            'state', 'zip_code', 'phone', 'website_url', 'category', 'guidestar_url', 'logo_url', 'mission_statement', 'description',
        ]

class DonationForm(ModelForm):
    class Meta:
        model = Donation
        labels = {
            'amount': 'Donation amount',
            'anonymous': 'Remain Anonymous?'
        }
        fields = ['amount', 'anonymous']

class BoardMemberForm(ModelForm):
    class Meta:
        model = BoardMember
        labels = {
            'member': 'Full Name',
        }
        fields = ['member', 'company', 'title']
a36c9a17b6088d8e73046410114c9e5aa553b4c7
<mask token>


class BoardMemberForm(ModelForm):


    class Meta:
        model = BoardMember
        labels = {'member': 'Full Name'}
        fields = ['member', 'company', 'title']

<mask token>


class DonationForm(ModelForm):


    class Meta:
        model = Donation
        labels = {'amount': 'Donation amount', 'anonymous': 'Remain Anonymous?'
            }
        fields = ['amount', 'anonymous']


class BoardMemberForm(ModelForm):


    class Meta:
        model = BoardMember
        labels = {'member': 'Full Name'}
        fields = ['member', 'company', 'title']

<mask token>


class OrganizationForm(ModelForm):


    class Meta:
        model = Organization
        labels = {'description': 'About Us', 'mission_statement':
            'Mission Statement'}
        fields = ['name', 'fiscal_sponsor', 'ein', 'contact_name',
            'contact_title', 'contact_email', 'address', 'city', 'state',
            'zip_code', 'phone', 'website_url', 'category', 'guidestar_url',
            'logo_url', 'mission_statement', 'description']


class DonationForm(ModelForm):


    class Meta:
        model = Donation
        labels = {'amount': 'Donation amount', 'anonymous': 'Remain Anonymous?'
            }
        fields = ['amount', 'anonymous']


class BoardMemberForm(ModelForm):


    class Meta:
        model = BoardMember
        labels = {'member': 'Full Name'}
        fields = ['member', 'company', 'title']

from django.forms import ModelForm
from .models import Organization, Donation, BoardMember


class OrganizationForm(ModelForm):


    class Meta:
        model = Organization
        labels = {'description': 'About Us', 'mission_statement':
            'Mission Statement'}
        fields = ['name', 'fiscal_sponsor', 'ein', 'contact_name',
            'contact_title', 'contact_email', 'address', 'city', 'state',
            'zip_code', 'phone', 'website_url', 'category', 'guidestar_url',
            'logo_url', 'mission_statement', 'description']


class DonationForm(ModelForm):


    class Meta:
        model = Donation
        labels = {'amount': 'Donation amount', 'anonymous': 'Remain Anonymous?'
            }
        fields = ['amount', 'anonymous']


class BoardMemberForm(ModelForm):


    class Meta:
        model = BoardMember
        labels = {'member': 'Full Name'}
        fields = ['member', 'company', 'title']

from django.forms import ModelForm

from .models import Organization, Donation, BoardMember

class OrganizationForm(ModelForm):
    class Meta:
        model = Organization
        labels = {
            'description': 'About Us',
            'mission_statement': 'Mission Statement'
        }
        fields = [
            'name', 'fiscal_sponsor', 'ein', 'contact_name', 'contact_title', 'contact_email', 'address', 'city', 
            'state', 'zip_code', 'phone', 'website_url', 'category', 'guidestar_url', 'logo_url', 'mission_statement', 'description',
        ]

class DonationForm(ModelForm):
    class Meta:
        model = Donation
        labels = {
            'amount': 'Donation amount',
            'anonymous': 'Remain Anonymous?'
        }
        fields = ['amount', 'anonymous']

class BoardMemberForm(ModelForm):
    class Meta:
        model = BoardMember
        labels = {
            'member': 'Full Name',
        }
        fields = ['member', 'company', 'title']