@register.simple_tag(takes_context=True)
def review_request_actions(context):
 content = []
 for top_level_action in get_top_level_actions():
  try:
   content.append(top_level_action.render(context))
  except Exception:
   logging.exception(u'Error rendering top-level action %s', top_level_action.action_id)
 return u''.join(content)

@ register . simple_tag ( takes_context = True ) def review_request_actions ( context ) : content = [ ] for top_level_action in get_top_level_actions ( ) : try : content . append ( top_level_action . render ( context ) ) except Exception : logging . exception ( u'Error rendering top-level action %s' , top_level_action . action_id ) return u'' . join ( content )
render all registered review request actions .