private function createEditForm(CustomFieldsGroup $entity)
    {
        $form = $this->createForm('custom_fields_group', $entity, array(
            'action' => $this->generateUrl('customfieldsgroup_update', array('id' => $entity->getId())),
            'method' => 'PUT',
        ));
        $form->add('submit', 'submit', array('label' => 'Update'));

        return $form;
    }
private function createEditForm(CustomFieldsGroup $entity)
    {
        $form = $this->createForm('custom_fields_group', $entity, array(
            'action' => $this->generateUrl('customfieldsgroup_update', array('id' => $entity->getId())),
            'method' => 'PUT',
        ));
        $form->add('submit', 'submit', array('label' => 'Update'));

        return $form;
    }
private function createEditForm ( CustomFieldsGroup $ entity ) { $ form = $ this -> createForm ( 'custom_fields_group' , $ entity , array ( 'action' => $ this -> generateUrl ( 'customfieldsgroup_update' , array ( 'id' => $ entity -> getId ( ) ) ) , 'method' => 'PUT' , ) ) ; $ form -> add ( 'submit' , 'submit' , array ( 'label' => 'Update' ) ) ; return $ form ; }
Creates a form to edit a CustomFieldsGroup entity.

@param CustomFieldsGroup $entity The entity

@return \Symfony\Component\Form\Form The form
Creates a form to edit a CustomFieldsGroup entity .