phase5: add saved searches, watchlist, and authenticated htmx flows
This commit is contained in:
12
apps/scouting/forms.py
Normal file
12
apps/scouting/forms.py
Normal file
@ -0,0 +1,12 @@
|
||||
from django import forms
|
||||
|
||||
from .models import SavedSearch
|
||||
|
||||
|
||||
class SavedSearchForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = SavedSearch
|
||||
fields = ["name", "is_public"]
|
||||
widgets = {
|
||||
"name": forms.TextInput(attrs={"placeholder": "e.g. EuroLeague guards under 24"}),
|
||||
}
|
||||
Reference in New Issue
Block a user