Source code for sacrud_deform.widgets

#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2014 uralbash <root@uralbash.ru>
#
# Distributed under terms of the MIT license.
from deform.widget import TextInputWidget, TextAreaWidget, CheckboxWidget


[docs]class ElfinderWidget(TextInputWidget): template = 'sacrud_deform:templates/deform/Elfinder.pt'
[docs]class HstoreWidget(TextAreaWidget): template = 'sacrud_deform:templates/deform/Hstore.pt'
[docs]class SlugWidget(TextInputWidget): template = 'sacrud_deform:templates/deform/Slug.pt'
[docs]class HiddenCheckboxWidget(CheckboxWidget): template = 'sacrud_deform:templates/deform/HiddenCheckbox.pt'
[docs]class M2MWidget(CheckboxWidget): template = 'sacrud_deform:templates/deform/Many2Many.pt'
  Read the Docs
v: latest  
Versions
latest
stable
master
Free document hosting provided by Read the Docs.