自动隐藏表单字段帮助块作为可插入django应用程序的jquery插件
django-autohide-help的Python项目详细描述
========
django autohide help
=======
`` autohide help.js``将在`{{static{url}js/autohide help.js``上可用。
script src=“{static\u url}js/autohide help.js``”>;<;/script>;
此插件显然需要jquery。
基本用法
==
选择一个或多个表单,并在其上调用“autohidehelp”:
$(“form”).autohidehelp()
然后在用户离开字段时滑入。
使用它们很方便,因为它们会自动生成帮助块。
对于
示例,如果字段的id为“id\u name”,则帮助块的id必须为“help\u id\u name”。“django authide help”的未来版本可能会使
可配置此功能。
_ jquery:http://jquery.com/
。_ django:http://www.djangoproject.com/
。_脆的形式:http://django crispy forms.readthedocs.org/en/d-0/
。_问题跟踪器:https://bitbucket.org/brankovukelic/django-autohide-help/issues
django autohide help
=======
`` autohide help.js``将在`{{static{url}js/autohide help.js``上可用。
script src=“{static\u url}js/autohide help.js``”>;<;/script>;
此插件显然需要jquery。
基本用法
==
选择一个或多个表单,并在其上调用“autohidehelp”:
$(“form”).autohidehelp()
然后在用户离开字段时滑入。
使用它们很方便,因为它们会自动生成帮助块。
对于
示例,如果字段的id为“id\u name”,则帮助块的id必须为“help\u id\u name”。“django authide help”的未来版本可能会使
可配置此功能。
_ jquery:http://jquery.com/
。_ django:http://www.djangoproject.com/
。_脆的形式:http://django crispy forms.readthedocs.org/en/d-0/
。_问题跟踪器:https://bitbucket.org/brankovukelic/django-autohide-help/issues