X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/521599e068275e44ceffd240e34e7c6701bcaf42..da0c65e6008cc1dbc88b05ed53553d70ec04e3fd:/apps/wiki/views.py diff --git a/apps/wiki/views.py b/apps/wiki/views.py index d37801f2..1cee83ad 100644 --- a/apps/wiki/views.py +++ b/apps/wiki/views.py @@ -110,7 +110,8 @@ def editor(request, slug, chunk=None, template_name='wiki/bootstrap.html'): }, 'tags': list(save_form.fields['stage_completed'].choices), 'can_pubmark': request.user.has_perm('catalogue.can_pubmark'), - 'slug': chunk.book.slug + 'slug': chunk.book.slug, + 'gallery': chunk.book.gallery, })