Currently the hidden fields output by FormTagHelper are surrounded by an icky div with inline styles:
<div style="margin:0;padding:0">
<input type="hidden" name="_method" value="put" />
<input type="hidden" name="authenticity_token" value="atoken" />
</div>
Attached is a patch (with tests) which adds a ActionView::Base.hidden_fields_tag_proc configuration proc so you can customise this, removing the inline styles if you wish, much the same as you can customise ActionView::Base.field_error_proc
I'm not 100% sure as to why the default wouldn't be a plain div w/o styles, the same as ActionView::Base.field_error_proc, but I've left the default as is unless someone would prefer me to change it.