dhruvgoel92/Elgg — comment on commit 19cbdcef8f6d54556ed4fea43b16accdb14d8f69
File:  line 0
By ewinslow:

Hmm... wrapping a button in a link seems a little hacky. Can you add an onclick handler directly to the submit button instead? You should just be able to pass `'onclick' => ...` into input/submit.

I wonder if this means we should support a "confirm" option for input buttons too?

Thanks for the pull request!