|
|
This post has NOT been accepted by the mailing list yet.
Hi,
Is there a way to set the 'escape' => false for the label of an element?
for example:
$this->add(array(
'name' => 'submit',
'escape' => false ???, 'options' => array(
'type' => 'button',
),
'attributes' => array(
'class' => 'button-text-only primary-action',
'id' => 'submit',
'label' => '< span class="ui-button-text" >' . $translate('Button Login') . '</ span >',
'type' => 'submit'
),
));
<?php echo $this->formButton($form->get('submit')); ?>
Thanks!!!
Roman.
|