Prevent `has_many` options from rendering as input attrs

Noticed this while working on #2660, but these options were getting passed in to every single input and were being rendered out as attributes on them all. This PR sanitizes the input options hash before building all the inputs, keeping this from happening.