bundesdata_web_app/app/speeches/forms.py
2019-02-28 14:09:53 +01:00

22 lines
646 B
Python
Executable File

from django import forms
class SearchForm(forms.Form):
"""
Configures the html input form for the protocol search.
"""
query = forms.CharField(label="Suche Protokoll", max_length="200")
query.widget.attrs.update({"class": "autocomplete materialize-textarea",
"id": "icon_prefix2"})
class SearchFormSpeech(forms.Form):
"""
Configures the html input form for the speech search.
"""
query = forms.CharField(label="Suche Rede", max_length="200")
query.widget.attrs.update({"class": "autocomplete materialize-textarea",
"id": "icon_prefix2"})