@view_config(route_name='group_create',
             request_method='GET',
             renderer='h:templates/groups/create.html.jinja2')
def create_form(request):
    if request.authenticated_userid is None:
        raise exc.HTTPNotFound()

    form = _group_form(request)

    return {'form': form.render()}
Render the form for creating a new group.
dataset/ETHPy150Open hypothesis/h/h/groups/views.py/create_form