Fix tests and broken forms

This commit is contained in:
2022-08-04 17:20:21 +02:00
parent 08924c5e05
commit 320a896610
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
<tbody>
{% set queryset = form.accepted_reports.field.queryset %}
{% for widget in form.accepted_reports.subwidgets %}
{% set report = queryset.get(id=widget.data.value) %}
{% set report = queryset.get(id=widget.data.value.value) %}
<form action="{{ url('pedagogy:moderation') }}" method="post" enctype="multipart/form-data">
{% csrf_token %}
<tr>