src/acme/sitioBundle/Controller/tipoWidgetController.php
/**
     * Creates a form to create a tipoWidget entity.
     *
     * @param tipoWidget $entity The entity
     *
     * @return \Symfony\Component\Form\Form The form
     */
Creates a form to create a tipoWidget entity.
@param tipoWidget $entity The entity

@return \Symfony\Component\Form\Form The form
Creates a form to create a tipoWidget entity . @param tipoWidget $entity The entity @return \ Symfony \ Component \ Form \ Form The form
private function createCreateForm(tipoWidget $entity)
    {
        $form = $this->createForm(new tipoWidgetType(), $entity, array(
            'action' => $this->generateUrl('tipowidget_create'),
            'method' => 'POST',
        ));
        $form->add('submit', 'submit', array('label' => 'Create'));
        return $form;
    }
private function createCreateForm ( tipoWidget $ entity ) { $ form = $ this -> createForm ( new tipoWidgetType ( ) , $ entity , array ( 'action' => $ this -> generateUrl ( 'tipowidget_create' ) , 'method' => 'POST' , ) ) ; $ form -> add ( 'submit' , 'submit' , array ( 'label' => 'Create' ) ) ; return $ form ; }
Creates a form to create a tipoWidget entity.
Creates a form to create a tipoWidget entity .