1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#6372: Form should be centered on page

This commit is contained in:
checktheroads
2021-05-23 13:21:52 -07:00
parent 1811118f28
commit c4bd47eb84
6 changed files with 82 additions and 89 deletions

View File

@@ -94,11 +94,12 @@
{# Title #}
<div id="content-title">
<h1 class="h2 w-100">{% block title %}{% endblock %}</h1>
{# Center-align title in object-edit views #}
<h1 class="h2 w-100{% if form or vc_form %} text-center{% endif %}">{% block title %}{% endblock title %}</h1>
</div>
{# Controls #}
{% block controls %}{% endblock %}
{% block controls %}{% endblock controls %}
</div>
{% endblock header %}