fetching the html from view in symfony2
===

I have created an action index which is giving a complete HTML

    public function newAction(Request $request)
        {
            
    
                return $this->render('AcmeTaskBundle:Default:index.html.twig');
          
        }

this is a dynamic form builder for which when i click on text field button then a text field is generated and accordingly the html is changed. now i want to get this new html in another action 

    public function subAction(Request $request)
    	{
    	$this->container->get('templating')
          ->renderResponse('AcmeTaskBundle:Default:index.html.twig');
    			
    	
    	}

when i am using this thing then it is only rendering the older html, i need the new generated html. how can i render this.