Child: [c4f76a] (diff)

Download this file

widgets.py    13 lines (9 with data), 343 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from formencode import validators as fev
import ew as ew_core
import ew.jinja2_ew as ew
from allura.lib.widgets.forms import ForgeForm
class ImportForm(ForgeForm):
submit_text='Import'
class fields(ew_core.NameList):
checkout_url = ew.TextField(label='Checkout URL',
validator=fev.URL())