from django import forms

class TodoForm(forms.Form):
    text = forms.CharField(
        max_length=100,
        widget=forms.TextInput(attrs={
            'class': 'form-control',
            'placeholder': 'Enter Todo',
            'aria-label': 'Todo',
            'aria-describedby': 'add-btn'
        })
    )
from django import forms

class TodoForm(forms.Form):
    text = forms.CharField(
        max_length=100,
        widget=forms.TextInput(attrs={
            'class': 'form-control',
            'placeholder': 'Enter Todo',
            'aria-label': 'Todo',
            'aria-describedby': 'add-btn'
        })
    )