view MoinMoin/constants/forms.py @ 1975:384555088cab

lots of pep8 fixes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 11 Feb 2013 04:49:04 +0100
parents 8f18745faf4a
children 02f24ba9623d
line wrap: on
line source
# Copyright: 2012 MoinMoin:CheerXiao
# License: GNU GPL v2 (or any later version), see LICENSE.txt for details.

"""
MoinMoin - Flatland form related constants
"""

# Widget types

WIDGET_TEXT = u'text'  # single-line text
WIDGET_MULTILINE_TEXT = u'multiline_text'
WIDGET_URL = u'url'
WIDGET_EMAIL = u'email'
WIDGET_PASSWORD = u'password'
WIDGET_CHECKBOX = u'checkbox'
WIDGET_INLINE_CHECKBOX = u'inline_checkbox'
WIDGET_ANY_INTEGER = u'any_integer'
WIDGET_SMALL_NATURAL = u'small_natural'
WIDGET_DATETIME = u'datetime'

WIDGET_FILE = u'file'
WIDGET_SEARCH = u'search'
WIDGET_SUBMIT = u'submit'
WIDGET_HIDDEN = u'hidden'

WIDGET_SELECT = u'select'
WIDGET_MULTI_SELECT = u'multi_select'

WIDGET_READONLY_STRING_LIST = u'readonly_string_list'
WIDGET_READONLY_ITEM_LINK_LIST = u'readonly_item_link_list'

# CSS Classes
CLASS_BUTTON = u'button'