Updates generic_table_form.html

* updates generic template
This commit is contained in:
mipel committed 2021-07-09 07:46:20 +02:00
1 parent 903a22973f
commit 50d98b2a83
2 files changed
+14 -13

No files matched your search

+2 -1
View File
@@ -25,7 +25,7 @@ class UserNotificationForm(BaseForm):
help_text=_("Select the situations when you want to receive a notification"),
widget=forms.CheckboxSelectMultiple(
attrs={
"class": "no-bullets",
"class": "list-unstyled",
}
),
choices=[]
@@ -35,6 +35,7 @@ class UserNotificationForm(BaseForm):
super().__init__(*args, **kwargs)
self.user = user
self.form_title = _("Edit notifications")
self.form_caption = _("")
self.action_url = reverse("user:notifications")
self.cancel_redirect = reverse("user:index")