Updates generic_table_form.html
* updates generic template
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user