X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/be97b26f386471a32186791be8f72f8ad9f6b3e1..1f58a10a88c18512abc9c84f49a04a18e00fa8c5:/apps/explorer/views.py?ds=inline diff --git a/apps/explorer/views.py b/apps/explorer/views.py index 3b3fdb1d..68fd1921 100644 --- a/apps/explorer/views.py +++ b/apps/explorer/views.py @@ -57,11 +57,9 @@ def gallery_panel(request, path): }) -def file_html(request, path): - return direct_to_template(request, 'explorer/file_html.html', extra_context={ - 'object': html.transform(repo.get_file(path).data(), is_file=False), - 'hash': path, - 'image_folders_form': forms.ImageFoldersForm(), +def htmleditor_panel(request, path): + return direct_to_template(request, 'explorer/panels/htmleditor.html', extra_context={ + 'html': html.transform(repo.get_file(path).data(), is_file=False), })