Skip to content

Commit

Permalink
Merge branch 'bobsburgers-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri-Sintsov committed Dec 15, 2022
2 parents c25d15a + 192adcc commit d0b4a09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion django_jinja_knockout/forms/renderers.py
Expand Up @@ -4,6 +4,7 @@
from django.conf import settings
from django.utils.html import format_html, mark_safe
from django.utils.translation import gettext as _
from django.utils.text import format_lazy

from djk_ui import conf as djk_ui_conf

Expand Down Expand Up @@ -39,7 +40,7 @@ def add_input_classes_to_field(model_field):
if is_select_multiple_field(model_field):
msg = _('Hold down "Control", or "Command" on a Mac, to select more than one.')
help_text = model_field.help_text
model_field.help_text = tpl.format_lazy('{} {}', help_text, msg) if help_text else msg
model_field.help_text = format_lazy('{} {}', help_text, msg) if help_text else msg


def get_layout_classes():
Expand Down

0 comments on commit d0b4a09

Please sign in to comment.