From 34b24a0dcb044cb755e201ad1a83253d0690e78e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 13 Nov 2022 16:14:38 -0700 Subject: More UI! --- core/forms.py | 11 ----------- core/views.py | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 core/forms.py (limited to 'core') diff --git a/core/forms.py b/core/forms.py deleted file mode 100644 index 8a4801d..0000000 --- a/core/forms.py +++ /dev/null @@ -1,11 +0,0 @@ -from crispy_forms.helper import FormHelper as BaseFormHelper -from crispy_forms.layout import Submit - - -class FormHelper(BaseFormHelper): - - submit_text = "Submit" - - def __init__(self, form=None, submit_text=None): - super().__init__(form) - self.add_input(Submit("submit", submit_text or "Submit")) diff --git a/core/views.py b/core/views.py index 205224c..30eaf90 100644 --- a/core/views.py +++ b/core/views.py @@ -1,6 +1,6 @@ from django.views.generic import TemplateView -from activities.views.home import Home +from activities.views.timelines import Home from users.models import Identity -- cgit v1.2.3