{{ form.render('name', ['class': 'form-control']) }}.........i want set a value to the input field....how to do it in volt
I don't know about volt, but from a controller you can do this:
\Phalcon\Tag::setDefaults(array("name" => "Hello world!"));
Ya ...i know that....but i want to set the value in view
Phalcon advocates the MVC pattern, where application logic should always be in the controller part. I don't think Phalcon supports what you want out-of-the box, you'll have to implement your own code for it.