Symfony Forms Cheat Sheet

Campos de formulario:

ChoiceType

Checkboxes

SF3:

use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
//..
->add('activo', ChoiceType::class, array(
    'choices' => array(
        'Si' => 0,
        'No' => 1,
    ),
    'expanded' => true,
    'multiple' => true
))

Ocultar un select en campo de fecha

{{ form_widget(form.fechaHasta.day, {'attr': {'class': 'hide'}}) }}