How can I use the HTML5 <button> tag in Drupal 6
- by Frankie Yale
I have the following HTML which I'd like to use in my Drupal 6 theme. It needs to replace the search-box code.
<fieldset class="search">
<input type="text" class="box font-myriad" />
<button class="btn" title="Submit Search">Search</button>
</fieldset>
I'm trying stuff like
$vars['form']['button']['#attributes'] = array('class' => 'btn');
in template.php, but no luck so far. Couldn't find much help on drupal.org.