Skip to content

Commit

Permalink
Fix wrong import in migrate.html
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala committed Dec 26, 2023
1 parent c5462a8 commit fabe77c
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions frontend/templates/admin/base/migrate.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{% extends "admin/base.html" %}
{% load i18n %}
{% load django-bootstrap5 %}
{% load django_bootstrap5 %}

{% block title %}{% endblock %}
{% block content_title %}{% endblock %}
{% block content %}
<form method="post">
{% csrf_token %}
{{ formset.management_form }}
{{ formset.non_form_errors.as_ul }}
<h4>{% block object_name %}{% endblock %}</h4>
<div id="sortable" class="mb-3">
{% for form in formset.forms %}
<div>
{% for hidden in form.hidden_fields %}
{{ hidden }}
<form method="post">
{% csrf_token %}
{{ formset.management_form }}
{{ formset.non_form_errors.as_ul }}
<h4>{% block object_name %}{% endblock %}</h4>
<div id="sortable" class="mb-3">
{% for form in formset.forms %}
<div>
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
{% for field in form.visible_fields %}
{% bootstrap_field field layout="horizontal" show_label=False size="sm" %}
{% endfor %}
<hr>
</div>
{% endfor %}
{% for field in form.visible_fields %}
{% bootstrap_field field layout="horizontal" show_label=False size="sm"%}
{% endfor %}
<hr>
</div>
{% endfor %}
</div>
<hr>
<h4>{% block target %}{% endblock %}</h4>
{% bootstrap_form form %}
{% bootstrap_button _("Submit") button_type="submit" %}
</form>
{{ form.media }}
<hr>
<h4>{% block target %}{% endblock %}</h4>
{% bootstrap_form form %}
{% bootstrap_button _("Submit") button_type="submit" %}
</form>
{{ form.media }}
{% endblock %}

0 comments on commit fabe77c

Please sign in to comment.