Template restructuring

* splits large templates into smaller includes
* removes localized form input for payments
* refactors Document removing using the generic remove form
This commit is contained in:
mipel
2021-07-26 14:35:19 +02:00
parent 2889b10e0d
commit 1d4be22da5
7 changed files with 336 additions and 332 deletions

View File

@@ -84,7 +84,7 @@ def open_view(request: HttpRequest, id: str):
Returns:
"""
template = "intervention/detail-view.html"
template = "intervention/detail/view.html"
intervention = get_object_or_404(Intervention, id=id)
has_access = intervention.has_access(user=request.user)