Browse Source

Remove title from docs modal

Jeremy Stretch 6 years ago
parent
commit
3b200bbffc
2 changed files with 2 additions and 1 deletions
  1. 1 0
      netbox/templates/inc/modal.html
  2. 1 1
      netbox/templates/utilities/obj_edit.html

+ 1 - 0
netbox/templates/inc/modal.html

@@ -8,6 +8,7 @@
                 </div>
             {% endif %}
             <div class="modal-body">
+                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                 {{ content }}
             </div>
         </div>

+ 1 - 1
netbox/templates/utilities/obj_edit.html

@@ -49,5 +49,5 @@
             </div>
         </div>
     </form>
-    {% include 'inc/modal.html' with name='docs' title='Documentation' content=obj|get_docs %}
+    {% include 'inc/modal.html' with name='docs' content=obj|get_docs %}
 {% endblock %}