clubmaster/formextra
最新稳定版本:3.0
Composer 安装命令:
composer require clubmaster/formextra
包简介
ClubMaster form extra.
关键字:
README 文档
README
In order to use the module:
composer.phar require clubmaster/formextra
When installed add the following to your AppKernel.php file:
new Club\FormExtraBundle\ClubFormExtraBundle(),
If you want to use the forms, remember to add this to your config.yml:
Twig Configuration
twig: debug: "%kernel.debug%" strict_variables: "%kernel.debug%" form: resources: - "ClubFormExtraBundle:Default:fields.html.twig"
Of you can just add the following to the top of your template: {% form_theme form 'ClubFormExtraBundle:Default:fields.html.twig' %}
Remember if you use the tinymce form, you will properly want to disble form validation:
Added html slider:
- Demo 1
- Demo 2
- Demo 3
That will add a slideshow for you.
TYPEAHEAD
To use typeahead, your controller must follow this pattern:
$result = array( array( 'value' => 'Meh' ) );
new JsonResponse($result);
Stylesheet
JavaScript
<script type="text/javascript" src="{{ asset('bundles/clubformextra/js/handlebars-v2.0.0.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/clubformextra/js/typeahead.bundle.js') }}"></script> <script type="text/javascript" src="{{ asset('bundles/clubformextra/js/typeahead.js') }}"></script>统计信息
- 总下载量: 710
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Beerware
- 更新时间: 2013-01-06