Explorar o código

Fix field group header

jeremystretch %!s(int64=4) %!d(string=hai) anos
pai
achega
26db326483
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/templates/generic/object_bulk_edit.html

+ 1 - 1
netbox/templates/generic/object_bulk_edit.html

@@ -48,7 +48,7 @@
                       <div class="field-group mb-5">
                         <div class="row mb-2">
                           <h5 class="offset-sm-3">
-                            {% if group %}{{ group }}{% else %}{{ model|meta:"verbose_name" }}{% endif %}
+                            {% if group %}{{ group }}{% else %}{{ model|meta:"verbose_name"|bettertitle }}{% endif %}
                           </h5>
                         </div>
                         {% for name in fields %}