Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper::enctype
Renders the HTML enctype in the form tag, if necessary.
Example usage templates: <form action="..." method="post" <?php echo $view['form']->enctype($form) ?>>
Signature
public function enctype(FormView
$view )
Parameters
$view
— Symfony\Component\Form\FormView- The view for which to render the encoding type
Returns
- string
- The HTML markup