File tree 2 files changed +2
-2
lines changed
src/bootstrap_datepicker_plus
templates/bootstrap_datepicker_plus
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ def get_context(
78
78
"""Return widget context dictionary."""
79
79
settings = get_widget_settings ()
80
80
context = super ().get_context (name , value , attrs )
81
- context ["addon_icon_class" ] = settings .addon_icon_classes [self .variant ]
81
+ context ["widget" ][ " addon_icon_class" ] = settings .addon_icon_classes [self .variant ]
82
82
return context
83
83
84
84
@deprecated (
Original file line number Diff line number Diff line change 1
1
< div class ="input-group dbdp ">
2
2
{% include 'django/forms/widgets/text.html' %}
3
3
< div class ="input-group-addon input-group-append input-group-text ">
4
- < i class ="{{ addon_icon_class }} "> </ i >
4
+ < i class ="{{ widget. addon_icon_class }} "> </ i >
5
5
</ div >
6
6
</ div >
7
7
{% if "data-dbdp-debug" in widget.attrs %}
You can’t perform that action at this time.
0 commit comments