diff --git a/CHANGELOG.md b/CHANGELOG.md index fbe981db3..3ca874bea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ v2.6.6 (FUTURE) * [#1941](https://github.com/netbox-community/netbox/issues/1941) - Add InfiniBand interface types * [#3259](https://github.com/netbox-community/netbox/issues/3259) - Add `rack` and `site` filters for cables * [#3563](https://github.com/netbox-community/netbox/issues/3563) - Enable editing of individual DeviceType components +* [#3580](https://github.com/netbox-community/netbox/issues/3580) - Render text and URL fields as textareas in the custom link form --- diff --git a/netbox/extras/admin.py b/netbox/extras/admin.py index d93b04037..1c35be600 100644 --- a/netbox/extras/admin.py +++ b/netbox/extras/admin.py @@ -86,6 +86,10 @@ class CustomLinkForm(forms.ModelForm): class Meta: model = CustomLink exclude = [] + widgets = { + 'text': forms.Textarea, + 'url': forms.Textarea, + } help_texts = { 'text': 'Jinja2 template code for the link text. Reference the object as {{ obj }}. Links ' 'which render as empty text will not be displayed.',