'Create a subreddit form'

@validate(VUser(), name=nop('name'))
def GET_newreddit(self, name):

    VNotInTimeout().run(action_name='pageview', details_text='newreddit')
    title = _('create    a    subreddit')
    captcha = (Captcha() if c.user.needs_captcha() else None)
    content = CreateSubreddit(name=(name or ''), captcha=captcha)
    res = FormPage(_('create    a    subreddit'), content=content, captcha=captcha).render()
    return res
