Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 705 Bytes

installation.md

File metadata and controls

34 lines (27 loc) · 705 Bytes

Installing InfiniteFormBundle

The installation of this bundle is handled by the use of composer:

$ php composer.phar require infinite-networks/form-bundle

Once composer has added InfiniteFormBundle to composer.json and downloaded it, you will need to add the bundle to your kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Infinite\FormBundle\InfiniteFormBundle(),
    );
}

For the default rendering of the checkbox grid, include the form theme in your config.yml:

twig:
    form:
        resources:
            - 'InfiniteFormBundle::form_theme.html.twig'