<?php

namespace Topxia\WebBundle\Form;

use Topxia\WebBundle\Form\Util\TaxonomyTermChoices;

use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Form\AbstractType;

class ReviewType extends AbstractType
{

    public function buildForm (FormBuilderInterface $builder, array $options)
    {

        $builder->add('rating', 'hidden');
        $builder->add('content', 'textarea');
    }

    public function getName ()
    {
        return 'review';
    }

}