mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 16:26:09 -06:00
13149 add gettext_lazy to forms
This commit is contained in:
parent
3caa69b815
commit
f849a63401
@ -226,7 +226,7 @@ class InterfaceCreateForm(ComponentCreateForm, model_forms.InterfaceForm):
|
||||
|
||||
if 'module' in self.fields:
|
||||
self.fields['name'].help_text += _(' The string <code>{module}</code> will be replaced with the position '
|
||||
'of the assigned module, if any').format(module=module)
|
||||
'of the assigned module, if any')
|
||||
|
||||
|
||||
class FrontPortCreateForm(ComponentCreateForm, model_forms.FrontPortForm):
|
||||
|
Loading…
Reference in New Issue
Block a user