Browse Source

Fix incorrect is_tab value on load - replace BooleanField with YesNoSwitch

Rainulf Pineda 6 years ago
parent
commit
3d0c4f6bb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/users/forms/admin.py

+ 1 - 1
misago/users/forms/admin.py

@@ -418,7 +418,7 @@ class RankForm(forms.ModelForm):
             "Optional css class added to content belonging to this rank owner."
         ),
     )
-    is_tab = forms.BooleanField(
+    is_tab = YesNoSwitch(
         label=_("Give rank dedicated tab on users list"),
         required=False,
         help_text=_(