Pergunta

As title says, how can i generate a form using zend form having input inside label? Something like

<label class="checkbox" for="persistent">
    <input type="checkbox" value="" id="persistent" data-toggle="checkbox">
    Remember Me
</label>

Thanks!

Foi útil?

Solução

You can likely add a decorator to your input field.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top