Updates generic_table_form.html

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

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")