class fields(ew_core.NameList): name = ew.TextField() redirect = ew.TextField() homepage = ffw.AutoResizeTextarea() allow_browse = ew.Checkbox(label='') show_title = ew.Checkbox(label='') css = ffw.AutoResizeTextarea() project_template = ffw.AutoResizeTextarea(validator=V.JsonValidator( if_empty='')) icon = ew.FileField() tracking_id = ew.TextField() project_list_url = ew.TextField(validator=fev.URL())
class fields(ew_core.NameList): name = ew.TextField() redirect = ew.TextField() homepage = ffw.AutoResizeTextarea() allow_browse = ew.Checkbox(label='') show_title = ew.Checkbox(label='') use_wiki_page_as_root = ew.Checkbox(label='') css = ffw.AutoResizeTextarea() project_template = ffw.AutoResizeTextarea(validator=V.JsonValidator( if_empty='')) icon = ew.FileField(attrs={'accept': 'image/*'}) tracking_id = ew.TextField() project_list_url = ew.TextField() anchored_tools = ffw.AutoResizeTextarea() prohibited_tools = ffw.AutoResizeTextarea()