from django import forms

from .models import BreedingCows


class BreedingCowForm(forms.ModelForm):
    class Meta:
        model = BreedingCows
        fields = (
            'address',
            'province',
            'contact',
            'entry_date',
            'description'
        )
        widgets = {
            'description': forms.Textarea(
                attrs={'class': 'form-control', 'required': 'True'}
            ),
            'contact': forms.Select(
                attrs={'class': 'form-control', 'required': 'True'}
            ),
        }

08d3ffcd89e1840d9c3408668257b7077fb5fc39
<mask token>

<mask token>


class BreedingCowForm(forms.ModelForm):


    class Meta:
        model = BreedingCows
        fields = 'address', 'province', 'contact', 'entry_date', 'description'
        widgets = {'description': forms.Textarea(attrs={'class':
            'form-control', 'required': 'True'}), 'contact': forms.Select(
            attrs={'class': 'form-control', 'required': 'True'})}

from django import forms
from .models import BreedingCows


class BreedingCowForm(forms.ModelForm):


    class Meta:
        model = BreedingCows
        fields = 'address', 'province', 'contact', 'entry_date', 'description'
        widgets = {'description': forms.Textarea(attrs={'class':
            'form-control', 'required': 'True'}), 'contact': forms.Select(
            attrs={'class': 'form-control', 'required': 'True'})}

from django import forms

from .models import BreedingCows


class BreedingCowForm(forms.ModelForm):
    class Meta:
        model = BreedingCows
        fields = (
            'address',
            'province',
            'contact',
            'entry_date',
            'description'
        )
        widgets = {
            'description': forms.Textarea(
                attrs={'class': 'form-control', 'required': 'True'}
            ),
            'contact': forms.Select(
                attrs={'class': 'form-control', 'required': 'True'}
            ),
        }
