bundesdata_web_app/app/speakers/forms.py

12 lines
329 B
Python
Raw Normal View History

2019-02-28 13:09:53 +00:00
from django import forms
class SearchForm(forms.Form):
"""
Configures the html input form for the speaker search.
"""
query = forms.CharField(label="Suche MdB", max_length="200")
query.widget.attrs.update({"class": "autocomplete materialize-textarea",
"id": "icon_prefix2"})