clubmaster/formextra

ClubMaster form extra.

Installs: 385

Dependents: 0

Watchers: 1

Forks: 1

Language: JavaScript

2.6 2015-03-09 10:32 UTC

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: 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