mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fix help button height on object edit forms
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
{% extends 'base/layout.html' %} {% load form_helpers %} {% load helpers %}
|
||||
{% extends 'base/layout.html' %}
|
||||
{% load form_helpers %}
|
||||
{% load helpers %}
|
||||
|
||||
{% block title %}
|
||||
{% if obj.pk %}Editing {{ obj_type }} {{ obj }}{% else %}Add a new {{ obj_type }}{% endif %}
|
||||
@ -6,9 +8,11 @@
|
||||
|
||||
{% block controls %}
|
||||
{% if settings.DOCS_ROOT %}
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary" data-bs-toggle="modal" data-bs-target="#docs_modal" title="Help">
|
||||
<i class="mdi mdi-help-circle"></i>
|
||||
</button>
|
||||
<div class="controls pt-1">
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary" data-bs-toggle="modal" data-bs-target="#docs_modal" title="Help">
|
||||
<i class="mdi mdi-help-circle"></i> Help
|
||||
</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock controls %}
|
||||
|
||||
|
Reference in New Issue
Block a user