Fix tests and broken forms

This commit is contained in:
klmp200 committed 2022-08-04 17:20:21 +02:00
1 parent 08924c5e05
commit 320a896610
3 files changed
+3 -3

No files matched your search

+1 -1
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>