用于Lite的窗体生成器

lite-forms的Python项目详细描述


精简格式

MaintainabilityGitHub license

一个易于使用的python库,用于构建gov.uk表单。

文档

Getting Started

生成窗体

Form(title='Register an organisation',
     description='Part 1 of 3',
     questions=[
		 TextInput(title='What\'s the organisation\'s name?',
				  name='name'),
		 TextInput(title='European Union registration and identification number (EORI)',
				  name='eori_number'),
		 TextInput(title='Standard Industrial Classification Number (SIC)',
				  description='Classifies industries by a four-digit code.',
				  name='sic_number'),
		 TextInput(title='UK VAT number',
				  description='9 digits long, with the first two letters indicating the'
							  ' country code of the registered business.',
				  name='vat_number'),
		 TextInput(title='Company registration number (CRN)',
				  description='8 numbers, or 2 letters followed by 6 numbers.',
				  name='registration_number'),
	 ],
	 buttons=[
		 Button('Save and continue', '')
	 ],
),

安装

pipenv install lite-forms

要求

  • gov.uk设计系统3.0>;

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java我是否正确地实现了广告,为什么没有显示?   java Maven编译器插件与Maven默认插件?   java如何通过在Hibernate中引入二级缓存来解决N+1问题?   java如何在Android中绘制位图   java再次关闭这个“FileOutputStream”声纳   Java Android Studio应用程序开发NullPointerException。我的应用程序强制在加载第二个活动时关闭   java无法使用与postman应用程序中相同的restTemplate发送请求   java为计算器拆分输入字符串   java底部导航栏未显示在活动中   java XML读取具有不同段的相同标记   java从文本文件中添加值   java将外部JAR与插件库目录分离   spock框架中的java高级助手方法   azure ADAL for Java Proxy   java如何使用Apache httpclient 4为每个请求设置超时。*使用PoollightTPClientConnectionManager?