Editor: automatically convert pasted urls to attachments to a proper links with ...
[redakcja.git] / apps / wiki / views.py
index c75bf3a..827a483 100644 (file)
@@ -100,6 +100,7 @@ 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
     })