5efa755188
* adds modal_generic.html template for generic usage * adds M2M field log to BaseObject * adds show log button to controls.html * adds logging on adding related objects * adds render log table using generic modal * adds tooltip to missing values in detail views * adds/updates translations
17 lines
518 B
HTML
17 lines
518 B
HTML
{% load i18n l10n %}
|
|
{% comment %}
|
|
A generic modal template which is derived from modal_form.html on django-bootstrap-modal-forms package
|
|
https://pypi.org/project/django-bootstrap-modal-forms/
|
|
{% endcomment %}
|
|
|
|
|
|
<div class="modal-header">
|
|
<h5 class="modal-title">{{ modal_title }}</h5>
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
{% include modal_body_template %}
|
|
</div> |