def render_template(self,context,data): context.fillSlots('maincontent', Fragment()) return context.tag
def render_row(context, data): context.fillSlots('english', data[0]) context.fillSlots('french', data[1]) return context.tag
def render_slots(self, context, data): for name, value in data.items(): context.fillSlots(name, value) return context.tag
def render_slots(self,context,data): for name,value in data.items(): context.fillSlots(name, value) return context.tag
def render_template(self, context, data): context.fillSlots('maincontent', Fragment()) return context.tag