diff --git a/src/fellchensammlung/templates/fellchensammlung/forms/form-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/forms/form-animal.html similarity index 100% rename from src/fellchensammlung/templates/fellchensammlung/forms/form-adoption-notice.html rename to src/fellchensammlung/templates/fellchensammlung/forms/form-animal.html diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index bc9532d..8cd7109 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -176,7 +176,7 @@ def adoption_notice_edit(request, adoption_notice_id): return redirect(reverse("adoption-notice-detail-bulma", args=[adoption_notice_instance.pk], )) else: form = AdoptionNoticeForm(instance=adoption_notice) - return render(request, 'fellchensammlung/forms/form-adoption-notice.html', context={"form": form}) + return render(request, 'fellchensammlung/forms/form-animal.html', context={"form": form}) def animal_detail(request, animal_id): @@ -397,7 +397,7 @@ def animal_edit(request, animal_id): return redirect(reverse("adoption-notice-detail-bulma", args=[animal.adoption_notice.pk], )) else: form = AnimalForm(instance=animal) - return render(request, 'fellchensammlung/forms/form-adoption-notice.html', context={"form": form}) + return render(request, 'fellchensammlung/forms/form-animal.html', context={"form": form}) def about(request):