'Returns classes for the workflow element in template.
The returned classes are determied based on
the workflow characteristics.'

def get_layout(self):

    if self.request.is_ajax():
        layout = ['modal']
    else:
        layout = ['static_page']
    if self.workflow_class.wizard:
        layout += ['wizard']
    return layout
