%! from django.utils.translation import ugettext as _ from contentstore.views.helpers import xblock_studio_url from contentstore.utils import is_visible_to_specific_content_groups import json %> <% xblock_url = xblock_studio_url(xblock) show_inline = xblock.has_children and not xblock_url section_class = "level-nesting" if show_inline else "level-element" collapsible_class = "is-collapsible" if xblock.has_children else "" label = xblock.display_name or xblock.scope_ids.block_type messages = json.dumps(xblock.validate().to_json()) %> <%namespace name='static' file='static_content.html'/> <%block name="header_extras"> %block> % if not is_root: % if is_reorderable: