This commit is contained in:
Xavier Fiechter 2023-02-04 22:35:53 +01:00
parent b140eb3f0f
commit 3743cee64e
2 changed files with 2 additions and 4 deletions

View file

@ -3,8 +3,6 @@ from labelbase.forms import LabelbaseForm
register = template.Library()
@register.simple_tag
def labelbaseform():
return LabelbaseForm()
register.tag('labelbaseform', labelbaseform)

View file

@ -294,7 +294,7 @@ body {
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
{{ labelbaseform.as_p }}
{% labelbaseform.as_p %}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>