def get_layout(self):
        """Returns classes for the workflow element in template.

        The returned classes are determied based on
        the workflow characteristics.
        """
        if self.request.is_ajax():
            layout = ['modal', ]
        else:
            layout = ['static_page', ]

        if self.workflow_class.wizard:
            layout += ['wizard', ]

        return layout
Returns classes for the workflow element in template.

        The returned classes are determied based on
        the workflow characteristics.