Add section id from cms for services

This commit is contained in:
M.Ravi 2017-10-19 14:14:29 +02:00
commit 46baaaf621
2 changed files with 2 additions and 1 deletions

View file

@ -94,6 +94,7 @@ class GlasfaserServicesPlugin(CMSPluginBase):
def render(self, context, instance, placeholder):
context['service_instance'] = instance
context['section_id'] = get_section_id(instance, 'services')
return context