Skip to content

Commit

Permalink
Update formset_base.html
Browse files Browse the repository at this point in the history
J'avais oublié la déclaration de la variable objectName dans formset_base.html
  • Loading branch information
B-Alica authored Dec 7, 2023
1 parent 77d83c9 commit ab09cb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dsfr/templates/dsfr/formset_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,9 @@
{% endblock form_set %}

{% block extra_js %}
<script type="text/javascript">
let objectName = "{{ object_name }}";
</script>

<script src="{% static 'js/formsets.js' %}"></script>
{% endblock %}

0 comments on commit ab09cb9

Please sign in to comment.