This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from django.forms import RadioSelect
|
||||
|
||||
|
||||
class RadioSelectButtonGroup(RadioSelect):
|
||||
"""
|
||||
This widget renders a Bootstrap 4 set of buttons horizontally instead of typical radio buttons.
|
||||
|
||||
Much more mobile friendly.
|
||||
"""
|
||||
|
||||
template_name = "bootstrap5/widgets/radio_select_button_group.html"
|
||||
Reference in New Issue
Block a user