gawa/gawa/start/forms.py
2023-10-01 17:05:44 +02:00

17 lines
404 B
Python

from django import forms
from django.utils.translation import gettext as _
class MainSearchForm(forms.Form):
search = forms.CharField(
max_length=100,
label=''
)
search.widget = forms.TextInput(
attrs={
'class': "form-control me-2",
'type': "search",
'aria-label': "Search",
'placeholder': _("Search")
}
)