private function createCreateForm(Agreement $entity)
    {
        $form = $this->createForm(new AgreementType(), $entity, array(
            'action' => $this->generateUrl('agreement_create'),
            'method' => 'POST',
        ));

        $form->add('submit', 'submit', array('label' => 'Create'));

        return $form;
    }