I am trying to create a simple html output that looks like this
<button class="searchbutton" id="search_button" type="submit">-->
<i class="icon-search"></i> Search</button>
with Cake php's form helper, i cant figure out why the 'after' attribute doesn't add the inner <i> </i> html element.
This is what i have tried.
echo $this->Form->button('Search', array('type' => 'submit','id' => 'search_button','class' => 'searchbutton',
'after' => "<i class='icon-search'></i>"));