public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('tags', 'entity', array('class' => 'HomefinanceBundle:Tag', 'choices' => $this->tagManager->listAllTags(), 'choice_label' => 'name', 'label' => 'rules.action.add_tag.tags.label', 'expanded' => true, 'multiple' => true, 'mapped' => false));
     parent::buildForm($builder, $options);
 }
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->add('category', 'entity', array('class' => 'HomefinanceBundle:Category', 'choices' => $this->categoryManager->allLeafCategories(), 'choice_label' => 'indentedTitle', 'label' => 'rules.action.set_category.category.label', 'empty_data' => null, 'empty_value' => "rules.action.set_category.category.empty", 'mapped' => false));
     parent::buildForm($builder, $options);
 }