mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #9206: Show header for comments field under module & module type creation views
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
* [#9151](https://github.com/netbox-community/netbox/issues/9151) - Child prefix counts not annotated on aggregates list under RIR view
|
* [#9151](https://github.com/netbox-community/netbox/issues/9151) - Child prefix counts not annotated on aggregates list under RIR view
|
||||||
* [#9156](https://github.com/netbox-community/netbox/issues/9156) - Fix loading UserConfig data from fixtures
|
* [#9156](https://github.com/netbox-community/netbox/issues/9156) - Fix loading UserConfig data from fixtures
|
||||||
* [#9158](https://github.com/netbox-community/netbox/issues/9158) - Do not list tags field for CSV forms which do not support tag assignment
|
* [#9158](https://github.com/netbox-community/netbox/issues/9158) - Do not list tags field for CSV forms which do not support tag assignment
|
||||||
|
* [#9206](https://github.com/netbox-community/netbox/issues/9206) - Show header for comments field under module & module type creation views
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -385,6 +385,12 @@ class ModuleTypeForm(NetBoxModelForm):
|
|||||||
)
|
)
|
||||||
comments = CommentField()
|
comments = CommentField()
|
||||||
|
|
||||||
|
fieldsets = (
|
||||||
|
('Module Type', (
|
||||||
|
'manufacturer', 'model', 'part_number', 'tags',
|
||||||
|
)),
|
||||||
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = ModuleType
|
model = ModuleType
|
||||||
fields = [
|
fields = [
|
||||||
@ -627,6 +633,15 @@ class ModuleForm(NetBoxModelForm):
|
|||||||
help_text="Automatically populate components associated with this module type"
|
help_text="Automatically populate components associated with this module type"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
fieldsets = (
|
||||||
|
('Module', (
|
||||||
|
'device', 'module_bay', 'manufacturer', 'module_type', 'tags',
|
||||||
|
)),
|
||||||
|
('Hardware', (
|
||||||
|
'serial', 'asset_tag', 'replicate_components',
|
||||||
|
)),
|
||||||
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Module
|
model = Module
|
||||||
fields = [
|
fields = [
|
||||||
|
Reference in New Issue
Block a user