I wonder if it would be cleaner to just pass the parent_xblock to container.html, instead of the individual parent bits.