문제

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!

도움이 되었습니까?

해결책

You can likely add a decorator to your input field.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top