zurb-foundation/inc/form.inc: $form['actions']['submit']['#attributes'] = array('class' => array('secondary', 'button', 'radius'));

It's cleanning all previous classes, in my module i'm trying:

$form['actions']['submit']['#attributes']['class'][] = 'some-class';

without effect

I know i can change my module weight but i don't think zurb theme must clean previous added classes

Meanwhile i'll copy form.inc alter code to my template.php.

Comments

  • shauntyndall committed c44e74f on 7.x-4.x
    Issue #2370417 by ropic: module custom form alter needs adding class but...
shauntyndall’s picture

@ropic this issue was patched on the 5.x branch and I've back-ported that change into the 4.x branch. Should be seen in an upcoming release.

  • shauntyndall committed e660a85 on 7.x-3.x
    Minor adjustment to submit button classes as accomplished by #2370417...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.