from django import forms
from .models import Post

class Postform(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['title']
        # labels = {'title':'Your Title'}
        widgets = {'title': forms.TextInput(attrs={'class':'form-control col-sm-10', 'placeholder':'write your title here', 'date': forms.DateInput(attrs={'class': 'form-control'})})}
f42a040c34d5a81b7b128c1bba4e8f8c08fe1c0a
<mask token>

<mask token>


class Postform(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['title']
        widgets = {'title': forms.TextInput(attrs={'class':
            'form-control col-sm-10', 'placeholder':
            'write your title here', 'date': forms.DateInput(attrs={'class':
            'form-control'})})}

from django import forms
from .models import Post


class Postform(forms.ModelForm):


    class Meta:
        model = Post
        fields = ['title']
        widgets = {'title': forms.TextInput(attrs={'class':
            'form-control col-sm-10', 'placeholder':
            'write your title here', 'date': forms.DateInput(attrs={'class':
            'form-control'})})}

from django import forms
from .models import Post

class Postform(forms.ModelForm):
    class Meta:
        model = Post
        fields = ['title']
        # labels = {'title':'Your Title'}
        widgets = {'title': forms.TextInput(attrs={'class':'form-control col-sm-10', 'placeholder':'write your title here', 'date': forms.DateInput(attrs={'class': 'form-control'})})}