Add span inside Yii generated form label

iJacob

New Member
I was wondering if it is possible to add a span inside a Yii generated label:\[code\]<?php echo $form->label($offer, 'newsletter', array('class' => 'long')); ?>\[/code\]This needs to be, rendered as this\[code\]<label class="long" for="c1"><span></span>Ontvang naast de standaard e-mail updates ook speciale aanbiedingen en acties.</label>\[/code\]Does anyone know if this is possible?Greetzm
 
Back
Top