mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Merge pull request #7245 from dvaccarosenna/issue/7195
Fixes #7195 update base template in plugin dev doc
This commit is contained in:
@ -218,7 +218,7 @@ NetBox provides a base template to ensure a consistent user experience, which pl
|
|||||||
For more information on how template blocks work, consult the [Django documentation](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#block).
|
For more information on how template blocks work, consult the [Django documentation](https://docs.djangoproject.com/en/stable/ref/templates/builtins/#block).
|
||||||
|
|
||||||
```jinja2
|
```jinja2
|
||||||
{% extends 'base.html' %}
|
{% extends 'base/layout.html' %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% with config=settings.PLUGINS_CONFIG.netbox_animal_sounds %}
|
{% with config=settings.PLUGINS_CONFIG.netbox_animal_sounds %}
|
||||||
|
Reference in New Issue
Block a user