In the controller or view, you should be able to do: form.custom.submit['_data-theme'] = 'e'
or
form.custom.submit.update(**{'_data-theme': 'e'})
form.custom.submit is just an INPUT helper, so you can add additional
attributes to it like any html helper object.
Anthony

