In fact, I am not even sure what mentoring means and how it is used alone.
But I've just seen that you want to break all elements in separate block..
so yeah this need to be modified. I will do it asap.
On Apr 14, 2014 2:55 PM, "Xavier Antoviaque" <notifications@github.com>
wrote:

> In mentoring/light_children.py:
>
> > @@ -141,8 +141,9 @@ def render_child(self, child, view_name, context):
> >          """
> >
> >          frag = getattr(child, view_name)(context)
> > -        frag.content = u'<div class="xblock-light-child" name="{}" data-type="{}">{}</div>'.format(
> > -                child.name, child.__class__.__name__, frag.content)
> > +        frag.content = u'<div class="xblock-light-child" name="{}"'.format(child.name) + \
> > +                       u' data-type="{}" data-completed="{}">{}</div>'.format(
> > +                           child.__class__.__name__, self.completed, frag.content)
>
> completed is an attribute specific to mentoring, it shouldn't be
> referenced in light_children. Also, generally, this patch is breaking
> compatibility with the XBlock API.
>
> Why not do it the same way you had persisted the number of attempts
> attribute on <mrq>, before it was moved to <mentoring>? You have the
> logic to do that already implemented no?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx-solutions/xblock-mentoring/pull/23/files#r11601503>
> .
>