'Returns item content in HTML format.'

@web.expose
def get_item_content_async(self, trans, id):

    stored = self.get_stored_workflow(trans, id, False, True)
    if (stored is None):
        raise web.httpexceptions.HTTPNotFound()
    self.get_stored_workflow_steps(trans, stored)
    stored.annotation = self.get_item_annotation_str(trans.sa_session, stored.user, stored)
    for step in stored.latest_workflow.steps:
        step.annotation = self.get_item_annotation_str(trans.sa_session, stored.user, step)
    return trans.stream_template_mako('/workflow/item_content.mako', item=stored, item_data=stored.latest_workflow.steps)
